Hi, I have question. Here is code. <form method="post" action=""> <textarea id="form" type="text" onFocus="value=''" name="comments" cols="40" rows="5"> Some text here... </textarea><br> <input type="submit" value="Submit" /> </form> HTML: I had code which was something="Some text here..." and I didn't need to put onFocus="value=''" and "Some text here..." in form text and all worked like this. Know somebody something about it? I hate google when I can't find simple things like this... it was something like textinput="Some text here..." or something like that... THX
Hi SecretDesign, Judging by the question you mean something like this: http://www.nicolaskuttler.com/post/html-forms-and-onclick-onfocus/ The thing you want is the Value="some text here..." then with the onFocus='value= " " ' it changes to empty when the user selects the field
Hi, answer was placeholder="Your text..." But this don't work in IE. How to get "Restore default value if nothing is entered" in in IE without "Allow blocked content" when IE restrict script running?