Alexandre Plennevaux schrieb: > hello, > > using bassistance FormValidation plugin, i get an error in Firefox > 2.0.0.1, related to this line > > var labelWidth = document.defaultView.getComputedStyle( this, '' > ).getPropertyValue( 'width' ); > the error message is: > > Error: document.defaultView.getComputedStyle(this, "") has no properties > > it chokes on the "getComputedStyle" method. I don't find any reference > to it in the jquery API nor in the plugin itself. > > can you enlighten me? That code isn't part of the validation plugin. See this article for details: http://alistapart.com/articles/prettyaccessibleforms
If you are interested in form validation, you may want to look at the current alpha version: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ I haven't made an official release yet because its quite likely that I have to make some more API changes, but if you don't mind, try it, it's already quite stable. -- Jörn Zaefferer http://bassistance.de _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
