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]
Gervase Markham wrote:
>> var lNewRow = nameTable.insertRow();
>> //var lNewRow = document.body.children("nameTable").insertRow();
>
>
> Where did you learn this syntax? ;-) I could be wrong, but I think both
> are non-standard.
>
> I think you want:
> var lNewRow = document.getElementById('nameTable').insertRow();
>
> Gerv
>