daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Auto select the search bar when user enters the page, so he/she can type right away?
  2. $(function()
  3. {
  4.     $('#search_field').focus();
  5. });
  6.    
  7. <input type="text" name="foo" autofocus="autofocus" />
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top