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