Hi,I have a question. How can I select the which display is none?
Given code like this:
<p id="p1">
<span id="test1" style="display:none">test1</span>
<span id="test2" >test2</span>
</p>
I can select the whose id is test1 by using $("span[id='test1']"),<br/>
, but it does not work when i use $("span[style='display:none']").<br/>
.
Is there any method to get this element at a time?
Thanks a lot.