jQuery ::: Does remove really remove? -
I am trying to remove table row by using jQuery, and it disappears from the screen, and therefore , Seems to work, in Firebug, I can still see the code for that. There are form elements in this row, and therefore, I want to know whether the line is actually deleted or not, because I do not want to submit those values. So, what exactly is extracted? I'm using the code below ... maybe I'm doing it wrong?
if ($ ('. Delete')) {$ ("Delete") Live ('click', function (event) {$ (this) .clostest ('tr'). Remove ();}); }
The source of a page is not updated with javascript functions if you are in firebug If you inspect the DOM, then you should be able to see the changes.
Comments
Post a Comment