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