Loop Quirk??

"Leander Gillard" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <006c01c58e1a$e4377220$6664a8c0@vianet2pksckv>
Hello,

I'm developing a web application using a combination of CGI::App, CGI::Template, xmlHTTPreq.

The problem I am having is that when I get a return string from my xmlhttpReq request it comes back as expected, I check this like this.

alert(t);
But when I set the innerHTML of a div immediately after like so.

window.getObject(name).innerHTML = t;

It removes a beginning chunk of the string when trying to use innerHTML on a select box and just doesn't do anything using innerHTML on a DIV(but the div solution works for FF).  It must be noted that if I put the div anywhere outside of the html::template loop it then works in IE.

This seems to be IE specific or related.

Any and all help would be appreciated.

Sincerely,



Leander
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.