I know that it is possible to get the value of a select
selected with:
$("id option:selected").val()
But I wanted to know if it's possible to catch when any of this select
is selected via an event, such as selecting a option
, triggering a function.
I think it would look something like this:
$("#ProcessoId").on('select', function () {
alert("ooi");
});
Or:
$("#ProcessoId").on('selected', function () {
alert("ooi");
});
But until then I could not make it work.