Find number of disabled images in a div.
Hi, if I have a div that contains four images and I disable one how would I find the number of disabled images?
For example if I have:
- <div id="resutsBox">
- <img src="gerrard.jpg" width="40" height="40" style="display:none" />
- <img src="gerrard.jpg" width="40" height="40" />
- <img src="gerrard.jpg" width="40" height="40" class="ui-disabled" />
- <img src="gerrard.jpg" width="40" height="40" />
- </div>
How can I find out that I have one image disabled?
Thanks.