Link to home
Start Free TrialLog in
Avatar of Richard Korts
Richard KortsFlag for United States of America

asked on

Cursor Position in <textarea>

I have this html:

<div class="row">
	<div class="col-sm-1 col-xs-1">&nbsp;</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">&nbsp;</div>
</div>

Open in new window


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
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial