jquery选中以什么开头的元素

$("[id^=percent]").size()

^=:表示以什么开头

$=:表示以什么结尾

~=:表示包含什么

id:表示按id选择
原文地址:https://www.cnblogs.com/sprinng/p/5044488.html