Thanks, I forgot about that.
Now, is there anyway to select the name of a class that contains "lm"?
I can do it using jquery to select all
the classes of something that has "lm#z" as one of them. However, I have to use string manipulation to get the class name that starts with lm and ends with z
var all_classes = $(e).parents(".div_row[class*='lm']").attr("class");
the_class = all_classes.substring(all_classes.indexOf("lm"),all_classes.indexOf("z")+1);