How can I check the display value of an element
<tr id="pDetails" style="display:none">
$("tr[id='pDetails']").attr("style") gives me 'display:none'
I want to write a jquery script that will return me only the value of display which is 'none'
Is that possible?