$(document).ready(function() { //Add/Remove Input Values $('input[title]').each(function() { if($(this).val() == '') {$(this).val($(this).attr('title'));} $(this).focus(function() { if($(this).val() == $(this).attr('title')) {$(this).val('');} }); $(this).blur(function() { if($(this).val() == '') {$(this).val($(this).attr('title'));} }); }); //End Add/Remove Input Values });