I'm making dynamic gallery
here is part of my code
<li id="pic_0">
<img src="http://localhost/wpff/wp-content/themes/twentyeleven/images/family/small/012_family-portrait_people_sea.jpg" name="012_family-portrait_people_sea.jpg" horz="y">
</li>
<li id="pic_1">
<img src="http://localhost/wpff/wp-content/themes/twentyeleven/images/family/small/011_family-portrait_people_sea.jpg" name="011_family-portrait_people_sea.jpg" horz="y">
</li>
<li id="pic_2">
<img src="http://localhost/wpff/wp-content/themes/twentyeleven/images/family/small/010_family-portrait_mother-son_sea.jpg" name="010_family-portrait_mother-son_sea.jpg" horz="y">
</li>
file names generated on the fly. I want to get "horz" value knowing filename (name value stored in Bigpic variable) using jquery
var horz = $('name='+Bigpic).attr('horz');
Cannot get it right! A little help please.
Thanks. Alexei