jquery - Highlight Text When Clicked -


How can I highlight all the text within a text box when I clicked using jQuery?

  & lt; Input type = "text" value = 
& lt; Script & gt; Click $ ("# user") (function () {$ ("# user"). Focus (); $ ("# user"). Select ();}); & Lt; / Script & gt;

Comments

Popular posts from this blog

email - PHP mail error ... failed to open stream : permission denied -

c# - ListView onScroll event -

c - Linux mmap() error -