jQuery equivalent of this..

jQuery equivalent of this..

Hi,
Can you guys please tell me the jQuery equivalent of this script:
if(document.getElementById('ID').style.display == 'none')

I want to check for all input elements.
I tried it with the attribute like:
if($('input').attr('style').indexOf("none") != -1)

But, didn't get the result.

Thanks

[/code]