I want to do the same action for two selectors. I need something like this:
$(\"#ddlSuperFuncao or #ddlMeta\").on(\'change\', function () { alert(\'Same
You can use as following:
$("#ddlSuperFuncao, #ddlMeta").on('change', function () { alert('Same action when I change one div or other'); }
For more information read it from here.
Use , to pass multiple selectors
,
$("#ddlSuperFuncao , #ddlMeta").on('change', function () {