File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes cursor position Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "cursor position" Watch "cursor position" New topic

cursor position

Lee Xu
Ranch Hand

Joined: Aug 24, 2001
Posts: 77
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?
Yuriy Fuksenko
Ranch Hand

Joined: Feb 02, 2001
Posts: 413
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 ...>
I agree. Here's the link:
subject: cursor position
It's not a secret anymore!