why not just use $("select").change(function() { alert( $(this).val() ); });
On Oct 13, 11:06 am, Evgeny Bobovik <bobo...@gmail.com> wrote: > fist and second methods are correct? but this: > $("select").change(function() { > > alert($(this).attr("value")); > > }); > method will worked correctly in all browsers! > Gk___ > > 2009/10/13 Mike <mgor...@gmail.com>: > > > > > $("select").change(function() { > > > alert($(this).attr("value")); > > > });