2
I need to do that by clicking on select popup
but it is not working, already the input
works normally
$("#alert_button").click( function() {
jAlert('Selecione Primeiro o Estado', 'Classificados Publico');
});
<input id="alert_button" type="button" value="Show Alert" />
<select id="alert_button">
<option value="index.php?s=<?php echo "$termo"; ?>" selected> Cidade </option>
</select>
What version of jquery-ui are you using ?
– Diego Filipe Pedro Santos