Jquery не работает должным образом при нажатии кнопки ⇐ Jquery
-
Anonymous
Jquery не работает должным образом при нажатии кнопки
Very simple code, for some reason nothing I try will work! I have obviously imported Jquery, jqueryUI, ajax, all the things I need imported (more than once!). But for some reason this button does not want to be clicked using Jquery! I got it to work with onClick, but I would like to be using jquery for this. SOS!
$("#heyo").click(function(){ alert(); }); $("input").click(function(e){ var id1 = e.target.id; alert(id1); }); $('input[type="button"]').click(function(){ alert(); }); function pie(){ //alert(); } loading...
Источник: https://stackoverflow.com/questions/332 ... tton-click
Very simple code, for some reason nothing I try will work! I have obviously imported Jquery, jqueryUI, ajax, all the things I need imported (more than once!). But for some reason this button does not want to be clicked using Jquery! I got it to work with onClick, but I would like to be using jquery for this. SOS!
$("#heyo").click(function(){ alert(); }); $("input").click(function(e){ var id1 = e.target.id; alert(id1); }); $('input[type="button"]').click(function(){ alert(); }); function pie(){ //alert(); } loading...
Источник: https://stackoverflow.com/questions/332 ... tton-click
Мобильная версия