I want to select the input when document is ready. I mean input value must be like highlighted and when I click any button from keyboard input’s value should be delete. How can i do this with jquery?
<input type="text" class="myText" value="First Name"></input>
Give the text box an ID and use the focus and select methods:
JSFiddle here