Remove Data From textbox when another textbox is clicked:
In this method, when user click on textbox1, the textbox2 value will be erased automatically and if user clicks on textbox2, textbox1 value will be fleshed off.
Sample Program:
Output:
Disable Textbox when another textbox is clicked:
Problem in using this method is, when user clicked on first textbox, second textbox will be disabled and so, the user can't re-enable the textbox2 by clicking on textbox2. To avoid this use above given method
Sample Program:
Output:
Click Here to get -- > HTML Tutorials by Studentsblog100
No comments:
Post a Comment