| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
How to do it?
If I have a search box on a page, how might I use JS to put the cursor on it?
I'm afraid JS is not really one of my strong points ;)
take a look at this, i think it is what you are looking for
This is basically what google uses:
Thanks ukgimp, quite simple really, time I got round to reading the 'definitive guide' JS book my mum got me last B'day!
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved