I have an input text :
I want to put a default value like
we can do it without using js in the following way using the "placeholder" attribute of html5 ( the default text disappears when the user starts to type in ,but not on just clicking )
<input type="email" id="email" placeholder="xyz@abc.com">
see this: http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_input_placeholder