![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a form and I'm adding form elements inside the form by assembling the string and then using innerHTML to add them. IE does not complain , but FireFox does not recognize the additions (ie, if I check document['some_form'].length, the length remains the same). What's the reason for that? Do I need to use DOM methods? Jeff |
#3
| |||
| |||
|
|
On Mar 11, 12:34 am, Jeff <jeff (AT) spam_me_not (DOT) com> wrote: I have a form and I'm adding form elements inside the form by assembling the string and then using innerHTML to add them. IE does not complain , but FireFox does not recognize the additions (ie, if I check document['some_form'].length, the length remains the same). What's the reason for that? Do I need to use DOM methods? Jeff Can you post a minimal test case showing what you're doing that isn't working? That's usually helpful -- either because by creating it you solve the problem yourself before posting (amazing how often that happens!), |
|
with... :-) It may also be worth inspecting the form via Firebug or some such after you've modified it; you're probably not quite inserting what you think you're inserting, something like that. Hope this helps, -- T.J. Crowder tj / crowder software / com |
![]() |
| Thread Tools | |
| Display Modes | |
| |