Are there any built-in jQuery functions to highlight the borders of a form field?
<p>Without using any plugins, are there any built in function in jQuery or jQuery UI to achive the form field border highlighting effect that you see on sites like <a href="http://www.youtube.com" rel="nofollow">http://www.youtube.com</a> ?</p>

<p>In YT when you click inside the search field the borders highlights blue.</p>

<p>I tried to achieve this using css and jquery addclass() function to give the input field that class when clicked in. BUT it's just not the same, the effect in youtube looks a lot better than what can be done via css.</p>

<h2>EDIT</h2>

<p>Oops I forgot, I meant the border should be added only when the user clicks inside the field. And I was wondering if there is a non-css based method.</p>
