Using jQuery, how to select all elements where element id ends with some string?
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]")
精彩评论