how do you get the current inline css attribute value?
I am using asp.net and assigning a value (block or none) to an inline css display attribute on a few form elements. Works great.
I can then use jQuery to show or hide these elements as needed.
However when I view the source the attribute value is the same as what I intially assigned it during the load event regardless of the current visibility of the element. So is there a way for jQuery to return the current display value for the element? Should I be looking somewhere other than
-
Alert($(elementname).css('display'));
The alert always shows the initial value
Thanks