我想用jquery將rel="shadowbox"添加到<a>標籤如何使用jQuery將rel添加到<a>標記?
rel="shadowbox"
<a>
我該怎麼做?
來源
2010-04-15 weaveoftheride
$('a#myid').attr('rel', 'shadowbox');
2010-04-15 13:17:34 clyfe