unemployment Posted June 6, 2011 Share Posted June 6, 2011 How can I make it so that when I click a link, my input box now has a cursor / focus set? Link to comment https://forums.phpfreaks.com/topic/238523-click-link-sets-focus-on-input/ Share on other sites More sharing options...
Adam Posted June 6, 2011 Share Posted June 6, 2011 Use getElementById to return the input element's object, and then call the focus() method. Link to comment https://forums.phpfreaks.com/topic/238523-click-link-sets-focus-on-input/#findComment-1225775 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.