Hi,
Is this possible?
I use Ajax call to a page.
Within the called page I create some html which also contains a javascript element with a standard function in. I write this all into a variable escaping quotes and loop over it so there is about 50 characters per line.
var myNewContent = " "
myNewContent += "blah"
I then write this to the request page using .innerHTML.
Everything works fine, apart from the javascript written to the innerHTML doesn't seem to work...
Any ideas why?
R
Is this possible?
I use Ajax call to a page.
Within the called page I create some html which also contains a javascript element with a standard function in. I write this all into a variable escaping quotes and loop over it so there is about 50 characters per line.
var myNewContent = " "
myNewContent += "blah"
I then write this to the request page using .innerHTML.
Everything works fine, apart from the javascript written to the innerHTML doesn't seem to work...
Any ideas why?
R