Xin
0
Q:

jquery class selector

$('.class').jquery_function();
2
$(".class").click(function(){
     $(this).find(".subclass").css("visibility","visible");
});
0
$(".txtClass")                  =>  getElementsByClassName()

$("#childDiv2 .txtClass")       =>  getElementById(),
                                    then getElementsByClassName()

$("#childDiv2 > .txtClass")     =>  getElementById(),
                                    then iterate over children and check class

$("input.txtClass")             =>  getElementsByTagName(),
                                    then iterate over results and check class

$("#childDiv2 input.txtClass")  =>  getElementById(),
                                    then getElementsByTagName(),
                                    then iterate over results and check class
2
$('#selector').selectmenu();
0

New to Communities?

Join the community