Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] FW: InnerHTML form fields not recognized by MAC IE


  • From: marguerite at blueskyz.com (Marguerite McFadden)
  • Subject: [Javascript] FW: InnerHTML form fields not recognized by MAC IE
  • Date: Tue Feb 10 12:27:22 2004

I am dynamically drawing form fields to a page:
 
If the user chooses to pay by credit card then the credit card form
fields appear, if the user chooses to pay by check then check form
fields appear, etc.
 
The fields display correctly, however when the user goes to submit the
form, the javascript function that checks the form fields for required
data does not function properly.  The function just stops (without
submitting the form) as soon as any reference to one of the dynamically
generated form fields is made.  The function is definitely being called,
and as long as no reference to these form fields is made, it will
continue to work properly right until it hits the "return true" or
"return false" command.then it just stops again - no error messages or
anything, the form just is not submitted.  Note that the "submit"
button, which calls the "CheckFields()" function, is also drawn
dynamically.
 
I read in an earlier post that maybe just adding "\n" to the end of my
innerHTML text data might help.  I have not triedthis yet but thought I
would post this to see if anyone had any ideas.
 
Thanks,
Marguerite
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.LaTech.edu/pipermail/javascript/attachments/20040210/38581298/attachment.html