使用jQuery,如何选择其中的所有元素id属性以某个字符串结尾?
id
有一个属性结尾为选择器 ([attr$=value]) http://api.jquery.com/attribute-ends-with-selector/, 像这样:
$("[id$=something]")