I ita4pmc Guest Apr 6, 2009 #1 I have a text box which i want to set its value to nothing upon clicking it.
B Beldemhein New member Apr 6, 2009 #2 <html> <body> <input type="text" id="text1" onclick="this.value='';" /> </body> </html>
S stephen m Guest Apr 6, 2009 #3 you have to use javascript: <input type="text" name="foo" value="onclick()"> not sure of the actual syntax but google for onclick and it'll deffo work.
you have to use javascript: <input type="text" name="foo" value="onclick()"> not sure of the actual syntax but google for onclick and it'll deffo work.