I tried:
$(\'input\').keyup(function() { $(this).attr(\'val\', \'\'); });
but it removes the entered text slightly after a letter is enter
just use onkeydown="return false" to the control tag like shown below, it will not accept values from user.