Volodymyr Osypov blog

May 23, 2008

HTML DOM, JavaScript to add/remove table rows (part 2)

Filed under: JavaScript — Tags: , — admin @ 3:01 pm

I’ve promised you to improve table row delete function, that’s what we will do today. So now we know the differences of DOM tree in different browsers. We saw that Firefox and Safari create additional text node “\n” so there are two ways to fix our delete row function: 1st - to delete these nodes, 2nd - just to pass them through.
(more…)

Powered by WordPress