Book Image

jQuery for Designers Beginner's Guide Second Edition

By : Natalie Maclees
Book Image

jQuery for Designers Beginner's Guide Second Edition

By: Natalie Maclees

Overview of this book

Table of Contents (21 chapters)
jQuery for Designers Beginner's Guide Second Edition
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Setting focus


If you head over to http://google.com, you'll see that they've made it really easy for you to conduct a web search—as soon as the page is loaded in the browser, the cursor is blinking in the search field. There are other sites on the Web that behave this way too, making it quick and easy to get started with filling in a form.

Any time you have a page where the site visitor's main task will be to complete a form, you can make things easy for your site visitor by placing the cursor into the first form field so they can just start typing. And it's wicked easy with jQuery. Here's how to do it.