$(document).ready(function() { // #login-box password field $(\'#password\').attr(\'type\', \'text\'); $(\'#passwo
Try this Demo is here
$(document).delegate('input[type="text"]','click', function() { $(this).replaceWith(''); }); $(document).delegate('input[type="password"]','click', function() { $(this).replaceWith(''); });