grab an element with jqyuery code example
Example 1: jquery get
$.get( "ajax/test.html", function( data ) {
$( ".result" ).html( data );
alert( "Load was performed." );
});
Example 2: jquery element to dom element
$( "#foo" )[ 0 ]; // Equivalent to document.getElementById( "foo" )