[Javascript] addin <input fields> via visibility or similar?

Mike Dougherty mdougherty at pbp.com
Fri Sep 9 17:49:09 CDT 2005


This should be doable on-the-fly with DOM insertions.  If you had a hidden template, you could 
clone a whole row and insert it in only a few lines of code.  It gets trickier if you want each 
object to have it's own id/name - but at that point, you could probably just write a wrapper 
function to which you pass an index.  google: createElement() - and post again if you need more 
help.

(directed back through the thread to Michael Borchers despite having replied to Triche)


> Triche Osborne <wdlists at triche-osborne.com> wrote:
> Michael Borchers wrote:
[snip]
>> now  i would like to have an extra input field for adding X rows and make them visible
>> in the form without reloading the page.
>> is this possible with visible layers or even without preloading rows and generating
>> them on the fly?
[snip]



More information about the Javascript mailing list