User Profile
Collapse
-
deep4ut replied to JavaScript to check whether textbox contains only integer or numeric/number valuesin Javascriptyes you can use isNaN() function of javascript... -
no,,i am using
<a href="#" class="negative " name="cancel" onclick="jacasc ript:reformset( );" >
<img src="http://bytes.com/topic/javascript/images/cross.png" alt=""/>Cancel</a> Reset button is just button .here i am using imageLeave a comment:
-
I got the answer
now just call this function onclick event of Cancel buttonCode:<script> function resetform() { document.getElementById("formname").reset(); } </script>Leave a comment:
-
reset textboxes in previous values
I want javascript code in which ,,onclick on cancel button results, all form's textboxes will be reset in their previous values.? formname.reset( ) is not working ... :(
No activity results to display
Show More
Leave a comment: