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