jquery select element inside element code example
Example 1: jquery find
$( "li.item-ii" ).find( "li" ).css( "background-color", "red" );
Example 2: jquery select element inside element
$("#moo") > $("#foo #moo") > $("div#foo span#moo") > $("#foo span") > $("#foo > #moo")
Example 3: how to find a name of class from page in jquery
$("input[type='submit']").click(function() {
if ($(".Mandatory").length > 0) {
// Do some code here
}
});