Return to Snippet

Revision: 40837
at February 8, 2011 21:23 by fadehelix


Initial Code
$(document).ready(function() {
    $('#inputWrapper').click(function() {
        if($(':input','#formId').val() == 'Search...')
        {
		  $(':input','#formId').val('');
        }
	});
  });

Initial URL

                                

Initial Description

                                

Initial Title
Clear input default value on click

Initial Tags

                                

Initial Language
jQuery