2011-01-31 61 views

回答

2

您可以使用starts with selector

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

说明:选择元素 有一个 值与给定 字符串完全开始的指定属性。

相关问题