Ah, got it. 
.css returns the currentStyle

Thanks
-Geoff

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Will Jessup
Sent: Monday, September 25, 2006 4:03 PM
To: jQuery Discussion.
Subject: Re: [jQuery] how to get the display value of an element?

www.visualjquery.com

go to .css

Will
>
> I am writing a routine that can accept any element.
>
> I need to determine whether the element is displayed inline, as a box 
> or some other display type.
>
> Is there a way to determine this if it has not already been set by a 
> style?
>
> An unstyled A tag should return a display type of inline, while a div 
> tag should return box.
>
> How can I get this parameter?
>
>  
>
> Thanks
>
> -Geoff
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>   


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/




_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to