开发者

Using jQuery, how to select all elements where element id ends with some string?

开发者 https://www.devze.com 2023-01-28 11:34 出处:网络
U开发者_如何学运维sing jQuery, how to select all elements where id attribute ends with some string?There an attribute-ends-with selector ([attr$=value]), like this:

U开发者_如何学运维sing jQuery, how to select all elements where id attribute ends with some string?


There an attribute-ends-with selector ([attr$=value]), like this:

$("[id$=something]")
0

精彩评论

暂无评论...
验证码 换一张
取 消