/ Published in: jQuery
simple jquery code to clear form fields
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// clear input field $("input").focus(function() { $("input").attr("value",""); });