[thelist] Quirksmode Code Issue
Burhan Khalid
thelist at meidomus.com
Sat Mar 27 08:27:48 CST 2004
Greetings Everyone :
I'm trying to use the dynamic-form-element-addition script from
http://www.quirksmode.org/dom/domform.html, and for some reason, its not
appending the "counter" to the field names (it is duplicating them).
I suspect that the error is because my form is actually inside a
table, and the childNodes that the script relies on (to generate the
dynamic names) are somehow not my form fields, but the <tr> <td> tags.
That's about as far as I got to debugging it :( My javascript+dom
skills are very rusty since I've been working exclusively in PHP-land
for the past two months.
Any help/suggestions would be nice.
The code is posted at http://www.meidomus.com/dev/eggdrop/index.php
The form works, it will submit to a script that just prints out the
contents of the post variable. The entire page is static.
Thanks again,
Burhan
More information about the thelist
mailing list