Focus on input field with value

Posted by Marcel on Stack Overflow See other posts from Stack Overflow or by Marcel
Published on 2010-03-14T14:28:39Z Indexed on 2010/03/14 14:35 UTC
Read the original article Hit count: 165

Filed under:

Hi,

i am focusing on an input field with jquerys

$("input:text").focus();

There is allready some textvalue in the inputfield. When I focus, the cursor blinks right after the last letter, how would I put the cursor right in front of the first letter?

thx alot

© Stack Overflow or respective owner

Related posts about jQuery