Skip to content Skip to sidebar Skip to footer

Insert Text & Set Focus On/in A Aspx Input Field?

I have a problem to execute a javascript function on a aspx site that should insert a String at the beginning of the TextBox (MultiLine) Content and sets the Cursor in the middle o

Solution 1:

First, your code should look like this, with handler registration on document.ready() (I removed the asp.net markup) http://jsfiddle.net/rMmwq/

Please also note the

varlen = wert.length;

instead of

varlen = wert.length();

Post a Comment for "Insert Text & Set Focus On/in A Aspx Input Field?"