philchanet
6/12/2017 - 8:53 AM

Open modal upon selection of an option in a select

Open modal upon selection of an option in a select

$('select').change(function () {
    if ($(this).val() == "thevalue") {
        $('#themodal').modal('show');
    }
});