css - How to select all classes inside a class with jQuery selector -
how go selecting classes in class using jquery selector? think $(".content .*").click(); work.
in addition, on click of class in .content want store class name of clicked class in variable.
here selector elements have @ least 1 class specified
$('.content [class]') or here elements
$('.content *') or better:
$('.content').on('click', '*', function() { //handler here }); your second question doesn't make sense , needs rephrased
Comments
Post a Comment