Deleting javascript object instances -


Make them dynamically The problem arises when a user wants to delete the input element ... Javascript object is still created How can I remove the object on the client side, or in a nutshell, how can I remove a javascript object instance or reset it? is?

  var par = new Spry.Widget.ValidationTextField ('part');  

and this is the delete function

  function del (calculation) {var gin; If (calculation == '0') {$ ('# delete' + count + '') Attrib ('disabled', ''); } And ($ ('. User_details' + count + '') .remove ();}}  

Thnx.


Comments