I\'m trying to use jQuery to make an ajax request based on a selected option.
Is there a simple way to retrieve the selected option id (e.g. \"id2\"
Th easiest way to this is var id = $(this).val(); from inside an event like on change.