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 http://www.youtube.com ?
In YT when you click inside the search field the borders highlights blue.
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.
EDIT
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.
By looking at the youtube source you can see that they’re using css, why complicate things with JS? :focus is supported in all major browswers. Here’s the source pulled from the youtube site (using firebug).
Double checked w/FF 3.x on linux and everything worked great.