If you have form with select list
<form name="exampleform" action="index.php" method="POST"> <select name="myselect" id="myselectid"> <option value="apple">Apple</option> <option value="banana">Banana</option> <option value="melon">Melon</option> </select> </form>
and you need to do some action when user change/select some items in select list then you can use this construction:
$("#myselectid").change(function () { var user_selected = $(this).val(); console.log('User selected value: ' + user_selected); });