I have a select tag.
Here is the jquery:
$('#offer').change(
function(){
alert($(this + "option:selected").val());
});
I want to get the value of the option:selected of this. The above code dose not work. But if I pas a id it works "#idofselecet option:selected"