2011-01-31 65 views

回答

2

您可以使用starts with selector

$('a[id^=user]').click(function(){ 
    .... 
}); 

說明:選擇元素 有一個 值與給定 字符串完全開始的指定屬性。

相關問題