Комментарии:
Best tutorial i found for jquery buttons, helped me alot. Thank you
Ответитьwhat if i keep same id in every button?will that work too for every button?
ОтветитьGreat teacher as always Alex!!
ОтветитьThis did't work for me until I added
$(document).ready(function(){ /* Here goes the code in the video*/ });
Dude, my woofer on my sound system is going crazy when you type :D That is one hell of a bass here! :D
ОтветитьSolution: $(document).ready(function(){ $("input:button").click(function(){ alert('This paragraph was clicked.') }); });
ОтветитьThis doesn't work on any of my browsers, it only works when I use the onclick feature linked to a function.
Ответить@rapblack2 Such you... It's for the people who wants to learn jquery. zzzzz -- Anyhow, Nice video Alex! xD
Ответитьthanks alex. very good video! :)
ОтветитьVery good!
Ответить@romanali1 It's type, you're right.
ОтветитьThere's a handler for when the DOM'S ready, use that instead of including your files after all the HTML :|
ОтветитьVery good
ОтветитьAt 5:52 you say it will look for an input field with id "buttton". Is it id, or is it type? I thought id would be input#button, and class would be input.button, and type would be input:button. I haven't actually tried it, or checked documentation, so I could be wrong. :) Great series btw, it really is presented well. Thanks!
ОтветитьI was waiting for theses! :D
Ответитьnice :)
Ответить