小编Den*_*erg的帖子

jQuery属性选择器:什么但不是以指定的字符串结尾?

我需要在jquery中选择元素,其中的attibute值不以指定的子字符串结尾.

它必须等同于" 匹配所有元素,但那些以该属性中给定子字符串结尾的元素 ".

所以e[a!@#=finstr]匹配e,e a="finstring"等,并且不匹配e a="somethingfinstr",e a="finstr".

帮助,谢谢.

jquery attributes jquery-selectors

11
推荐指数
1
解决办法
7670
查看次数

标签 统计

attributes ×1

jquery ×1

jquery-selectors ×1