I'm trying to create a button that when pressed will remove the last character entered in a text field called "cell" using jQuery.
Here is what I have:
It doesn't workCode:$("#backspace").click(function() { $("#cell").value($("#cell").substring(0, $("#cell").length() - 1); });Can someone shed some light on what I'm doing wrong.
Thanks!



Can someone shed some light on what I'm doing wrong.


Bookmarks