Thanks for your help!
I did read something about putting this into the address bar
javascript:'<xm p>' + window.document .body.outerHTML + '</xmp>'
that will show the javascript generated source as well..
I have solved the bug, so far I realised that javascript that references to the <div> does work, even though it can't see it.. but only after I've used prototype's element update...
User Profile
Collapse
-
Hi there, thanks for your prompt reply!
hmm actually at the moment I'm using prototype instead of jquery.. would that be a problem in resolving this issue?Leave a comment:
-
InnerHTML vs Ajax
Recently, I have been attempting to pick up AJAX and discovered a slight problem with innerHTML..
I have
then ..Code:<div id='container'></div>
The content shows up but when I view source, the <div id='container'> </div> tag shows up as EMPTY, does not input the new content, although the browser...Code:$('container').innerHTML=req.responseText;
No activity results to display
Show More
Leave a comment: