Murugan.com
Murugan Andezuthu Dharmaratnam

  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  



ASP.NET & VB how to clear the text of a textbox on a mouse click after the page loaded

Home   ASP.NET   ASP.NET & VB how to clear the text of a textbox on a mouse click after the page loaded         


Qn: How to clear a text in text box on amouse click after page loaded

i used this code   onclick="this.value = '';"   in the  tag 

it worked successfully , on the mouse click text box cleared.But the Problem 
is that when i insert values to the text box 

and mouse click for further editng cause the clearing of the text box

Thank you

Best solution would be to use a javascript if you want to clear the text 
in a textbox when a user clicks on the textbox. 







  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  

Copyright 2009 @ Murugan Andezuthu Dharmaratnam