/ Published in: jQuery
Expand |
Embed | Plain Text
$(document).ready(function() { $('#inputWrapper').click(function() { if($(':input','#formId').val() == 'Search...') { $(':input','#formId').val(''); } }); });
Comments
Subscribe to comments
You need to login to post a comment.

.focus would be better then .click imo