I wish to pass a variable to a function and have the function select elements within that variable. I\'m unfamiliar with the syntax of this case however, could any one advise?>
For chainability you can also use:
$(container).find('#element');