Documentation:

http://www.mozilla.org/docs/dom/domref/dom_html_ref31.html

...list syntax as: row = table.insertRow(index)

with:  "index is a number representing where in the table to insert the new row"

No mention of optional, so it shouldn't be treated as such.

However, Micha's got a good point - createElement() is the real way to do it.

-joe

----- Original Message -----
From: Claude Schneegans <[EMAIL PROTECTED]>
Date: Wed, 11 Aug 2004 10:28:03 -0400
Subject: Re: add form elements online
To: CF-Talk <[EMAIL PROTECTED]>

>>The documentation for the Mozilla DOM is great,

It is actually getting better, but it took years, and it is still
laking too many details.
Talking of insertRow(), it is never said
if calling the function with no parameter will add a row at the end, like in IE
or will cause an error.

--
_______________________________________
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.________________________________
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to