the $() thing also accepts other things then just strings
var element=$("#someIdHere)
var someOtherElement= $(element).find(".someClassHere")
$(someOtherElement).html("<p>It has now a p element inside of it</p>")
however that piece of code could also have been written like
$("#someIdHere").find(".someClassHere").html("<p>It has now a p element inside of it</p>")