Is there something I can do like this (perhap via a plugin)
if ( ! $(\'form#contact input]\').hasFocus()) { $(\'form#contact input:first]\').focus(); }
There is a plugin http://plugins.jquery.com/project/focused
Also you can check Using jQuery to test if an input has focus