/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$("input[type='password'], input[type='text'], textarea").each(function(){ $(this).one('focus',function(){ $(this).val(""); }); });