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
if ($('.fishes li').is(':visible'))
{
var price=$(this).find('span').html();
alert(price);
}
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.
the click source is $(document).on("click", ".test", function()