Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

cursor position

 
Lee Xu
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I create a form which has a text area field.But
whenever I click on text area, cursor is positioned on the middle of the text area.Is there any way to position the cursor at the beginning whitout pressing backspace?
Thanks
 
Yuriy Fuksenko
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In what browser are you getting that?
By the way, make sure you close your textarea right after open tag, I mean
<textarea ....></textarea>,
not something like
<textarea ...>
</textarea>
 
I'm so happy! And I wish to make this tiny ad happy too:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!