I tried:
$(\'input\').keyup(function() { $(this).attr(\'val\', \'\'); });
but it removes the entered text slightly after a letter is enter
A non-Javascript alternative that can be easily overlooked: can you use the readonly attribute instead of the disabled attribute? It prevents editing the text in the input, but browsers style the input differently (less likely to "grey it out") e.g.
readonly
disabled