2
I’m applying an event change
in id #estado
, this has to happen when I click on the id #cidade
.
I am working, but I noticed that only occurs when I click and release the button, how do I make it occur when I click?
OBS: if I click and keep holding the event does not occur, it will only occur when I release the mouse button.
$("#cidade").on("click", function () {
$("#estado").change();
});