Feeling stupid now :(

$('select').change(function(){
   alert($(this).val());
});

This did the trick.

David Duymelinck schreef:

I want to do something with the value of a select option element when it gets selected

$('option').click(function(){
  alert($(this).val());
});

Works fine in FF but not in IE6. I seached the list for a solution but i couldn't find any.

Can someone help me?



--
David Duymelinck
________________
[EMAIL PROTECTED]

Reply via email to