Permission denied for <http://example.com> to get propertyHTMLDocument.body from http://www.example.com.
var c = parseFloat(cf.contentDocument.body.offsetHeight) + 30;
Permission denied for <http://example.com> to get propertyHTMLDocument.body from http://www.example.com.
var c = parseFloat(cf.contentDocument.body.offsetHeight) + 30;
I believe this is due to the Same Origin Policy implemented by most (all??) browsers. Simply put example.com is not the same origin as www.example.com.
With a little guessing about your question, I see 2 possibilies:
Javascript will not let you read data from other domains via Ajax, and you read from a domain different than example.com
You read data from example.com, but you really try to read from www.example.com, and the webserver only serves on www.example.com.