Tuesday, May 08, 2007

jQuery Plugin: focus fields

focus fields is a plugin for jQuery that adds an outline and background colour to a text input when it is given focus.


Anjanesh said...


I seem to get this error on my site in IE7.

Error: 'this.parentNode.borderCss.off' is null or not an object

This is on line 66 :

Sam said...

Unfortunately, this plugin does not work if you use Internet Explorer and jQuery 1.2.1. One of the methods required by this plugin (wrap) was changed and caused it to break.

I've filed a bug, and hopefully this will be fixed by jQuery 1.2.2: wrap removes expandos