Home > Bookmarks, Html > HTML: Self Select Text

HTML: Self Select Text

October 21st, 2007 Leave a comment Go to comments

Cum faci ca un continut aflat intr’o casuta text sa se selecteze in mod automant cand faci click cu mouse-ul pe respectiva casuta:

Cod HTML

<input onClick=”javascript:this.focus();this.select();” type=”text” name=”cauta_text” id=”casuta_text” size=”100″ value=”Auto Select”>

se foloseste onclick=”javascript:this.focus();this.select();”

(ByREV)

  1. No comments yet.
  1. No trackbacks yet.
GoCache - ByREV-Cache v1.0 - live served in : 0.177219 sec (gzip)