fnDeleteRow does it also delete from the DOM?
fnDeleteRow does it also delete from the DOM?
I have an ajax script that removes rows, I'm curious if I call fnDeleteRow should I also call .remove() to completely remove it from existence or does DT do this for me? When I delete a row I never want it back.
This discussion has been closed.
Replies
Allan
Allan
Side note: it's a pet recommendation of mine to convince people to start using .delegate() instead of .live(). It's easy to do and will perform better especially on a complex page.
"As of jQuery 1.7, .delegate() has been superseded by the .on() method. For earlier versions, however, it remains the most effective means to use event delegation. More information on event binding and delegation is in the .on() method. In general, these are the equivalent templates for the two methods:"
Just read the docs, and the 'data' parameter could be quite versatile indeed.