Re: feeling stupid....
Péter Zsoldos <[email protected]>
| Newsgroups | gmane.comp.web.dom.wdf |
|---|---|
| Message-ID | <[email protected]> |
Seb Frost írta: > ok, but this is executed every time the user adds a new row into a table, of > which there could theoretically be thousands - so i can't hardcode all of > those numbers in like you just have can I? > If the user adds a new row using your script, then attach the event handler when (s)he adds the new row - you can calculate the value of num then, and you do have the row element too ZsP Unsubscribe [email protected] List info http://www.quirksmode.org/dom/list.html Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/wdf-dom/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/