HTML5 Auto Focus Field

This is a quick and dirty post because I found out with html5 you can do something like this.

<input name="search" id="search_field" type="text" autofocus="autofocus" />

Bam! Now you have an html5 auto focussing field. Don’t forget your doctype!