I'm applying a change
event to the id #estado
, this has to happen when I click the id #cidade
.
This is working, but I noticed that it only occurs when I click and release the button, how do I make it happen when I click?
OBS: If I click and hold the event does not occur, it will only occur when I release the mouse button.
$("#cidade").on("click", function () {
$("#estado").change();
});