Re: [htmltmpl] Re: Loop Quirk???

2005-07-21 Thread Michael Graham
> Ok, here goes, the onChange event kick starts the request to a perl script > which sends back the data to for innerHTML and targets the id="select">. This works np in FF. Okay, I will freely admit that I'm out of my depth with this XMLHTTPRequest stuff. But I'm beginning to see what you're s

[htmltmpl] Got it

2005-07-21 Thread Leander Gillard
You guys rock,   Thanks for the fresh perspective and forcing me to think.   It was indeed that I was using the same var for the div repeatedly hard coded for testing. FF must assign a different id even when named the same, IE doesn't.  Regardless there is the weird string issue, but that is

[htmltmpl] Loop Quirk

2005-07-21 Thread Leander Gillard
You have me thinking about a couple of things, let me try another test.   -- Leander

Re: [htmltmpl] t, name var Re: Loop Quirk

2005-07-21 Thread Leander Gillard
To be exact I'm saying that whatever the cause is, I can't properly use innerHTML with internet explorer if I place the tag anywhere within the HTML::Template Loop.  All other areas are fine. FF works, don't know why.   Although anything is possible but  I dont' understand why it works in a

Re: [htmltmpl] t, name var Re: Loop Quirk

2005-07-21 Thread Mark Fuller
Leander,   Are you saying that you believe H:T isn't working correctly because IE doesn't behave the same as other browsers? Or, are you really seeing H::T emit something different than you expect it to emit? That's a big difference. You may have invalid HTML causing IE to break (or its vers

[htmltmpl] Right list wrong name

2005-07-21 Thread Leander Gillard
My mistake sam,I called it CGI::Template  instead of HTML::Template.Regards.> On Thu, 21 Jul 2005, Leander Gillard wrote:> >> Hello, I'm developing a web application using a combination of>> CGI::App, CGI::Template, xmlHTTPreq.> > I don't see HTML::Template in that list.  Are you on the wr

[htmltmpl] Re: Loop Quirk???

2005-07-21 Thread Leander Gillard
Ok, here goes, the onChange event kick starts the request to a perl script which sends back the data to for innerHTML and targets the id="select">.  This works np in FF.Thanks in advance.--LeanderJS:function loadXMLDoc(url, x_name, rmode) {// Internet Explorertry { this.req = new ActiveXOb

[htmltmpl] t, name var Re: Loop Quirk

2005-07-21 Thread Leander Gillard
Hello again.name is unique to every row in the table iterated over during the initial build of the loop, t gets assigned a value from the perl script it calls through the xml object.The template works initially but it causes some confusion for Internet Explorer and I'm assuming the DOM stru

Re: [htmltmpl] Loop Quirk??

2005-07-21 Thread Sam Tregar
On Thu, 21 Jul 2005, Leander Gillard wrote: > Hello, I'm developing a web application using a combination of > CGI::App, CGI::Template, xmlHTTPreq. I don't see HTML::Template in that list. Are you on the wrong mailing-list? -sam --- SF.Net e

Re: [htmltmpl] Loop Quirk??

2005-07-21 Thread Michael Graham
> 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 [snip] Can you post the entire template code (just the loop part) and the javascript source code that gets generated from it? Wh

[htmltmpl] Loop Quirk??

2005-07-21 Thread Leander Gillard
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