01-28-2011, 09:37 PM
Hi,
on web appli, i try to check if a button is visible on screen.
This button is hidden by a sub level SPAN with a display=none style value, or is available if display=inline-block.
I was able to add the button to OR but how to check display value from upper SPAN
something like:
on web appli, i try to check if a button is visible on screen.
This button is hidden by a sub level SPAN with a display=none style value, or is available if display=inline-block.
I was able to add the button to OR but how to check display value from upper SPAN
something like:
Code:
<span class="bla bla ..." [color=#FF4500]style="display: none;"[/color]> [color=#FF69B4]<== WHAT I WANT TO CHECK[/color]
<span class="djfhjdfvjh"
<span class="sdfsdfdf sdfgg"
<[color=#32CD32]button id="myButton"[/color] class="dfjsdfj" type="button" .... style="-moz-user-select: none;"> [color=#FF69B4]<== THE BUTTON[/color]
</button>
</span>
</span>
</span>