The Motley Fool Discussion Boards

Previous Page

Computers, Phones & Internet / Webmaster's Corner

URL:  http://boards.fool.com/you-dont-need-javascript-for-that-use-htmls-30179407.aspx

Subject:  Re: HTML / Javascript question Date:  7/31/2012  8:23 PM
Author:  captainccs Number:  16316 of 16444

You don't need javascript for that, use HTML's autofocus

<input type="text" name="long" id="long" value="" autofocus="autofocus">

Denny Schlesinger
Copyright 1996-2014 trademark and the "Fool" logo is a trademark of The Motley Fool, Inc. Contact Us