ho il seguente codice:Prendi il nome (tipo) dell'evento che è stato licenziato (attivato)
$('#my-button').on('click change', function(event) {
alert("Who fired me, click or change?");
});
Come posso sapere se l'evento è stato chiamato "click" o "cambiamento"?
hai un errore di battitura nel codice HTML: '< input type' not ' tkone
@tkone corretto. Grazie! –
bella demo veloce anche. – tkone