SitePoint Sponsor |
|
User Tag List
Results 1 to 1 of 1
Thread: help with cursor position
-
Sep 9, 2007, 11:40 #1
- Join Date
- Aug 2006
- Posts
- 9
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
help with cursor position
hello ,
I'm using AJAX to post comments without refreshing the page , and it works fine
but I just asking how to set the cursor in a specific place in the page , which contains the comment added , by javascript
what if I want the cursor to go to the table with the id 'new_comment'
I tried this but didn't work
HTML Code:document.getElementById("new_comment").focus();
any idea
Thanks, Respect
Bookmarks