jQuery Crash Course [2] - Events

preview_player
Показать описание
In this video we will be working with jQuery events including mouse, form and input events

Рекомендации по теме
Комментарии
Автор

About using <selector>.on('click') vs <selector>.click(): I know this is way from the future, but one thing to be very aware if manipulating the DOM elements with jquery:

.click() will bind the listener ONLY at the creation of the document. Therefore something like $('.foo').click() will only work for elements that were present at the creation, NOT any tag you may have added ajax after to which you've given that class (or that fits whatever selector you have there).

.on('click') however WILL scan the document at runtime. Therefore it WILL find any tag you may have dynamically appended/manipulated in the DOM.

I got bit by that and took me foreever to figure out.

logiconabstractions
Автор

Best web development youtube channel which i've seen !!

MrHatapustas
Автор

Hey Brad, Just finished your introductory jQuery Course! Most excellent learning experience! Wanting more of these course please. I've become a big fan of you!!!

TariqTariq-sd
Автор

I can't thank you enough! I had to learn JQuery in a week for my project, you made it easy for me 😀

harishsiripuram
Автор

The best jQuery tutorial i have found so far, . perfect explanation, best channel ever to learn.Highly recommended :)

syedmohi
Автор

Theres a shortcut to comment something out...just select the lines of code you want to comment out and Hold " CNTRL" and press"/" and you can also write some lines and when you finish wrting just do the same it wil comment it out automatically.

ajazmiah
Автор

Form Events with Focus and Blur 15:23

KeyUp & Key Down Events 19:06

Submit Event and Grab the values 21:45

Leonardo-gcrh
Автор

Love your videos, man! I am very grateful for them. Keep up this amazing work!

galbalazs
Автор

You saved my life 😃. 4 ever gratefull (as a female developer). 🌹🌹🌹🌹🌹🌹

anniemargareth
Автор

Nice video, I begin to love learning JQuery because of this video.

aguswidi
Автор

Amazing video, moving on to your next video on Jquery. Thanks

AnimatedHooman
Автор

Thank you so much for doing these courses. This is helping me out so much!

portlandsound
Автор

15:00 so that's how agar.io works. and I thought it was some sort of complicated magic hehe

Mono
Автор

you are my best teacher ever thank you!

axum-tube
Автор

Quick refresher! very well made. Thanks.

dnafication
Автор

Fuck this content teaches me a shit ton more than CodeAcademy ever will!

maplestoryinchinese
Автор

Wow.. amazing man, thank you very much !!!

PedrovoriskAB
Автор

thanks for this nice tutorial ... though jQuery is fading, it is still a good skill set for web developer in Y2018

kevinzhang
Автор

I kept thinking it was my kid running around at 11pm but remembered you said your kid was running around lol.

itzMarcMan
Автор

Another way to work with form data that is submitted is to use the event itself.
You would console log (e.target.name.value); to get the data that's input in the "name" field.

gevcrln