This function not only focuses the cursor to an input field, but also selects all text within.
May cause errors if supplied element is not an text, password or textarea field.
Requires xGetElementById (also available on this site).
Added by JC on 12th November, 2007
There are no comments about this snippet.
You must be registered and logged in to post a comment.
Login here to post a comment