I've been trying to change a drop-down list's value (as well as the UI) based on another drop-down list's value as follows, but with no success. Any advice?
    $("[name=firstlist]").change(function(){
        if ( $("[name=firstlist]").val() == '2' ) {
            $("#id-secondlist").val("4");
        }
    });
Thanks.
 
     
    