阅读背景:

检测到String时从Class获取ID

来源:互联网 

I'm trying to work out a way so that when a string is detected in a class of html, I can get the specific ID. For example, if the string was "Action", I'd like to detect Action from the following Strings in the class "categoryCont", and then work out which ID that was. At the moment, I'm using a JQuery Method that simply checks if the class contains the text:I'm trying to work out a way so that when a str




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: