get tag where id and class jquery code example Example 1: get element by id in Jquery $("#YourElementId").val(); Example 2: get element by id jqueryt $( "#myDiv" )