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