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! Quote 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 Quote 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! Quote Link to comment https://forums.phpfreaks.com/topic/25880-auto-drop-cursor-position/#findComment-118386 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.