check from a list of li which one is display block and get its html
<p>i am trying to get html from the the list of li finding which one is display block and get that li's html. all i want is to get the html from the display:block li out of four li</p>

<pre><code> if ($('.fishes li').is(':visible'))
 {
 var price=$(this).find('span').html();
 alert(price);
 }
</code></pre>

<p>but using this is not getting the value i want . its not taking out html from the display:block li . the click source is different. </p>

<p>the click source is <code>$(document).on("click", ".test", function()</code></p>
