Richard Korts
asked on
Cursor Position in <textarea>
I have this html:
When page loads, cursor is tabbed over one tab in the <textarea> body. Never seen this before. How can I force cursor to position 1 in the text area box onLoad?
<div class="row">
<div class="col-sm-1 col-xs-1"> </div>
<div class="col-sm-5 col-xs-5" style="padding-top:2px; padding-bottom:2px;">Comments:</div>
<div class="col-sm-5 col-xs-5" style="padding-top:2px; padding-bottom:2px;"><textarea rows="5" cols="80" name="comments">
</textarea></div>
<div class="col-sm-1 col-xs-1"> </div>
</div>
When page loads, cursor is tabbed over one tab in the <textarea> body. Never seen this before. How can I force cursor to position 1 in the text area box onLoad?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.