use the second one, avoid problems from having multiple selects on the page.

Mike wrote:
$("select").change(function() {

                alert($("select option:selected").val());


            });



OR

$("select").change(function() {

            alert($(this).attr("value"));


            });


I am specifically looking at the selector used in the alert.  From my
testing the result in the same correct values to be displayed.

Reply via email to