[thelist] Inserting Form Fields with JS in Netscape 6+

Hassan Schroeder hassan at webtuitive.com
Thu Dec 5 11:46:01 CST 2002


Scott Brady wrote:

> We have a section where we need to add form fields to a form
 > dynamically with JavaScript.  In IE, this works fine, but in
 > Netscape 6+ (we've tried it in 6.0, 6.1, 6.2, and 7) when you
 > submit the form, the dynamically added fields don't get submitted.
>
> We've tried several methods of adding the form elements, from
 > writing the HTML (innerHTML, etc.) to using createElement, and
 > nothing as worked.
>
> Is this not possible in Netscape 6+?

Dunno about NS6 specifically but I'm using document.createElement()
and document.appendChild() to add text fields for an app right now,
and the added fields' content is submitted in Moz 1.1(Win).

FWIW!
--
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.






More information about the thelist mailing list