jQuery Basics: Click Event Handler

jQuery Basics: Click Event Handler

Codecourse

13 лет назад

37,460 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

TheMustard56
TheMustard56 - 31.12.2018 20:06

Best tutorial i found for jquery buttons, helped me alot. Thank you

Ответить
Rakib Nur
Rakib Nur - 01.12.2017 22:15

what if i keep same id in every button?will that work too for every button?

Ответить
M m
M m - 22.04.2015 13:21

Great teacher as always Alex!!

Ответить
Arturs Tvaiks
Arturs Tvaiks - 13.02.2015 04:24

This did't work for me until I added  
$(document).ready(function(){   /* Here goes the code in the video*/    });

Ответить
Taffo Velikoff
Taffo Velikoff - 30.10.2013 12:48

Dude, my woofer on my sound system is going crazy when you type :D That is one hell of a bass here! :D

Ответить
badluckgurl
badluckgurl - 25.03.2013 11:58

Solution: $(document).ready(function(){ $("input:button").click(function(){ alert('This paragraph was clicked.') }); });

Ответить
Tega Etareh
Tega Etareh - 08.09.2012 09:09

This doesn't work on any of my browsers, it only works when I use the onclick feature linked to a function.

Ответить
Brian Coolidge
Brian Coolidge - 21.01.2012 07:14

@rapblack2 Such you... It's for the people who wants to learn jquery. zzzzz -- Anyhow, Nice video Alex! xD

Ответить
Heber Nunomura
Heber Nunomura - 27.09.2011 20:08

thanks alex. very good video! :)

Ответить
Leandro Lemes Vilela
Leandro Lemes Vilela - 17.07.2011 06:13

Very good!

Ответить
francismori7
francismori7 - 11.07.2011 10:37

@romanali1 It's type, you're right.

Ответить
francismori7
francismori7 - 11.07.2011 10:34

There's a handler for when the DOM'S ready, use that instead of including your files after all the HTML :|

Ответить
Zoltán Birner
Zoltán Birner - 10.07.2011 03:28

Very good

Ответить
Salwa Begum
Salwa Begum - 09.07.2011 20:39

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!

Ответить
Kiark
Kiark - 09.07.2011 15:39

I was waiting for theses! :D

Ответить
yuki
yuki - 09.07.2011 15:03

nice :)

Ответить