more a javascript question but;
you are doing things absolutely the wrong way around
the way your code is setup what would happen (if it worked) it would clear the text that the user had just entered when they exited the text field and each time the user clicked into the text box their text would be replaced with the default.
Code:
<input type="text" name="name" id="id" value="Type your name here" onFocus="this.select()">
This would select the existing text in the field
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|