$('#textid').click(function() { $(this).val(''); });
$("#inputid").focus(function(){ $(this).val(""); })