Okay, I have this code:
Option 1 Option 2
For a select like this
CHOOSE AN OPTION John Doe Jane Doe
... you can get the id this way:
$('#list-name option:selected').attr('id');
Or you can use value instead, and get it the easy way...
like this:
$('#list-name').val();