Yeah, that's why I was suspicious. I'm not sure what the code is doing, but it 
was there before I got there. On the other hand, before I started mucking with 
the code, it was working enough that it usually kept the correct boxes checked 
when I changed pages -- it just didn't get the checked boxes that weren't on 
the current page saved to the Struts form. My best bet might be to revert to 
the JS that was working and try to figure out the other problems instead.
 
Chris

________________________________

From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Sun 2/11/2007 10:14 AM
To: Struts Users Mailing List
Subject: Re: Struts action call in a JS method returns blank page



Christopher Loschen wrote:
> I'm suspicious of some code elsewhere on the page that reloads the entire 
> page -- I don't have it in front of me right now, but it goes something like:

Woah, are you saying the form your trying to work with was dynamically
inserted into the page via innerHTML?  If so, the problem you may be
encountering is that content inserted with innerHTML isn't necessarily
added to the DOM at all.  I've frankly never spent the time to determine
the pattern, but I know there are some instances, in one browser or
another, where the DOM isn't updated, and other times it is.  I
typically just avoid using innerHTML to insert anything I know I'm going
to want to access later :

Frank

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to