ダイナミックギャラリーを作っています
ここに私のコードの一部があります
<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>
その場で生成されるファイル名。jqueryを使用してファイル名(Bigpic変数に格納されている名前の値)を知っている「horz」値を取得したい
var horz = $('name='+Bigpic).attr('horz');
それを正しくすることはできません!少し助けてください。
ありがとう。アレクセイ