1
私はfancyボックスに送る必要があるid属性の値が異なります。idの値をfancyボックスに送信
$('a.Links').click(function() {
var clickID = $(this).attr('id') ;
alert(clickIDID);
});
$("#"+clickID).fancybox({
'width' : '75%',
'height' : '75%',
'autoScale' : false,
'transitionIn' : 'none',
'transitionOut' : 'none',
'type' : 'iframe',
'titlePosition' : 'outside',
'content' : 'testl'
});
どのようにして.FancyボックスにclickIDの値を送信できますか。私はクリック機能の中に.fancyboxを追加しようとしましたが、それはうまくいきません。
the index value of attribute
問題は私には理想的な値があるということです。詳細については私の以前の質問をご覧ください – user512438
http://stackoverflow.com/questions/4221269/the-index-value-of-attribute – user512438
'$(" a [id^= read] ")。fancybox({...私が何かを逃していない限り、それを行う必要があります。私が説明したものとまったく同じです。 – karim79