This is probably the simplest thing ever for you guys. But I am trying to get into web design.
So here is what I am trying to do. I have two textboxes and i want the text inside the textbox to disappear when it is clicked, but I want it to reappear when the other textbox is clicked
Original Page
a) [Username] b) [Password]
If a is clicked.
a) [ ] b) [Password]
if b is clicked.
a) [Username] b) [ ]
if anywhere else on the page is clicked.
a) [Username] b) [Password]
Soo. that being said, here is what I have so far.
<html>
<p>
<br />
<input type="textbox" onclick=value="" value="Username" />
<br />
<br />
<input type="textbox" onclick=value="" value="Password" /> </p>
</html>
So here is what I am trying to do. I have two textboxes and i want the text inside the textbox to disappear when it is clicked, but I want it to reappear when the other textbox is clicked
Original Page
a) [Username] b) [Password]
If a is clicked.
a) [ ] b) [Password]
if b is clicked.
a) [Username] b) [ ]
if anywhere else on the page is clicked.
a) [Username] b) [Password]
Soo. that being said, here is what I have so far.
<html>
<p>
<br />
<input type="textbox" onclick=value="" value="Username" />
<br />
<br />
<input type="textbox" onclick=value="" value="Password" /> </p>
</html>