How to do this using jQuery - document.getElementById("selectlist").value

jquery

Solution

$('#selectlist').val();

Problem

In jQuery, what is the equivalent to `document.getElementById("selectlist").value` ? I am trying to get the value of a select list item. Thanks.

Original source