Hi,
Is there any way how to set caret position to the end of textarea ?
There must be some AJS javascript functions which can solve this, can anybody help me ??
Thx.
Use this function.
except use AJS.$.fn instead of $.fn
Then you can use:
AJS.$("#description").selectRange(6,6)
to get the length of the field contents use:
AJS.$("#description").val().length
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.