Read the W3C's DOM Level 1 HTML spec:

http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.html#ID-39872903
states that insertRow() requires one parameter: the index of the place 
where the row should be inserted.

You probably want to brush up on the W3C DOM specs to avoid having 
similar problems in the future.  I have never seen a DHTML site 
mentioning any of the DOM-HTML features; it seems the more generic DOM 
Core is preferred by most.  Regardless, the DOM specs are the only 
reference you should need if you have an understanding of how to read 
them.  They are all at http://www.w3.org/DOM/DOMTR

Good luck
--J



Todd Geib wrote:

> Do you have a good site that documents DHTML (preferably somewhere that 
> mentions this Insert Row method).
> 
> I did change it to that and get this error now:
> 
> Error: uncaught exception: [Exception... "Not enough arguments 
> [nsIDOMHTMLTableElement.insertRow]"  nsresult: "0x80570001 
> (NS_ERROR_XPC_NOT_ENOUGH_ARGS)"  location: "JS frame :: http://<my 
> ip>/blaa/Pages/nameFrame.asp?SortBy=Last :: Constructor :: line 91" 
> data: no]
> 
> 



Reply via email to