How To Make Cool Input Elements Using jQuery
$(function(){ //this makes the default value of an input disappear when you focus on the input text field. //default values reappear when input is unfocused under the condition that value="". var smart_input = function( input_id, default_value){ $(input_id).focus(function(){ if($(input_id).val() === default_value){…