Sorry, I neglected to inform the group that its and IE only app and this
does work in IE ... but I will have a boo at the link!
"Conrad Lender" <> wrote in message
news: m...
> On 2008-10-10 19:56, T.G. wrote:
>> After loading the snippet in your browser, you will see a simple HTML
>> table with 2 hyperlinks per line that call js code to move the rows
>> up and down. There is a hyperlink at the bottom, 'ADD', that
>> dynamically adds 3 rows to the bottom of the table. These new rows
>> also have Up and Down links that move the rows up and down.
>>
>> The problem: the links in the 5 static rows work perfectly. The links
>> in the new rows only work the first time they are clicked on, then
>> cease to fire!
>
> This doesn't work at all, at least not in Firefox. When any of the "up"
> or "down" links is clicked, the following error occurs:
>
> clickedRow.removeNode is not a function
>
> in line #34: clickedRow.removeNode(true);
> Did you mean "removeChild"?
>
>> I cannot figure out why. I wonder if one of you could point me in the
>> right direction,
>
> The very first thing you should do validate your HTML, and fix all of
> the errors:
>
> http://validator.w3.org/
>
> Then use a script debugging tool in whatever browser you're using. I
> suggest you use Firefox, and install the "Firebug" add-on. Fixing your
> script shouldn't be too hard then.
>
>
> - Conrad