getelementbyid vs $( code example Example: jquery equivalent of document.getelementbyid var target = $("#myID").get(0);