From edi at agharta.de Sun Jul 3 11:21:07 2005 From: edi at agharta.de (Edi Weitz) Date: Sun, 03 Jul 2005 13:21:07 +0200 Subject: [html-template-devel] New version 0.3.0 Message-ID: ChangeLog: Version 0.3.0 2005-07-03 Introduced *TEMPLATE-OUTPUT* so template printers don't interfer with *STANDARD-OUTPUT* (proposed by Norman Werner) Small enhancements to docs Download: Cheers, Edi. From leander at vianet.ca Thu Jul 21 15:48:11 2005 From: leander at vianet.ca (Leander Gillard) Date: Thu, 21 Jul 2005 11:48:11 -0400 Subject: [html-template-devel] Loop Quirk "Maybe" Message-ID: <002201c58e0b$99708600$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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From edi at agharta.de Thu Jul 21 16:26:53 2005 From: edi at agharta.de (Edi Weitz) Date: Thu, 21 Jul 2005 18:26:53 +0200 Subject: [html-template-devel] Loop Quirk "Maybe" In-Reply-To: <002201c58e0b$99708600$6664a8c0@vianet2pksckv> (Leander Gillard's message of "Thu, 21 Jul 2005 11:48:11 -0400") References: <002201c58e0b$99708600$6664a8c0@vianet2pksckv> Message-ID: On Thu, 21 Jul 2005 11:48:11 -0400, "Leander Gillard" wrote: > 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. Are you sure you're on the right mailing list? Looks to me as if you have confused HTML::Template (Perl) with HTML-TEMPLATE (Lisp). Cheers, Edi.