The behavior that you are seeing is intended and there for security reasons. You wouldn't want a third party script to make any changes to your page as that can be exploited heavily.
The behavior that you are seeing is intended and there for security reasons. You wouldn't want a third party script to make any changes to your page as that can be exploited heavily. Instead, give your users a JavaScript snippet to embed on their page.
Note that inside this snippet you can create a script tag dynamically, set the src attribute and load the actual JavaScript. This snippet that your users embed on their page has access to the entire DOM, but the script loaded externally does not. Here's an example of the profile widget that Twitter gives out to embed on web pages: The first script tag loads the library, while the second one which actually manipulates the page is added as code directly.
The problem isn't that I cannot manipulate DOM objects on the page. I can do that. The thing is the browser doesn't let me send an ajax http request to pages outside the current domain were the main page is.
That's what "Access to restricted URI denied code: 1012" refers to. And I need the ajax http request to get data from the database. – devland Aug 17 '10 at 11:08.
I finally found a solution that doesn't involve ajax. I simply use And in getAndDisplayData. Php I generate a JS script that will create my widget inside the div above.
The php file also connects to the database and retrieves all required widget data. Apparently this is how google ads works, though I am not sure. It is certain though that they don't use ajax.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.