jaymc Posted November 2, 2006 Share Posted November 2, 2006 Hi, I dont know much about javascript, only the basicsIm trying to get the cursor selected in a textarea when the page is loadedHow can I achieve this?Thanks! Link to comment https://forums.phpfreaks.com/topic/25880-auto-drop-cursor-position/ Share on other sites More sharing options...
tomfmason Posted November 2, 2006 Share Posted November 2, 2006 I think I understand what you are asking.. trydocument.getElementById('yourTextarea').focus();Good Luck,Tom Link to comment https://forums.phpfreaks.com/topic/25880-auto-drop-cursor-position/#findComment-118320 Share on other sites More sharing options...
jaymc Posted November 2, 2006 Author Share Posted November 2, 2006 Worked fine! Thanks! Link to comment https://forums.phpfreaks.com/topic/25880-auto-drop-cursor-position/#findComment-118386 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.