On 07/02/07, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote:
>
>
> 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?
>
> thanks,
>
> Alexandre
>
>
>
>
>
> Alexandre Plennevaux - LAb[au] asbl.vzw / MediaRuimte
> Lakensestraat/Rue de Laeken 104
> B-1000 Brussel-Bruxelles-Brussels
> Belgie-Belgique-Belgium
>
> Tel:+32(0)2.219.65.55
> Fax:+32(0)2.426.69.86
> Mobile:+32(0)476.23.21.42
> http://www.lab-au.com
> http://www.mediaruimte.be
Perhaps $(this).css("width") is what you want?
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/