happy cat image

everdevel

coding

login
NotificationX
  • Currently, only notices of comments are displayed.
  • no comment or please login

jQuery Selector

Do you remember to write (.class_name) when selecting classes in CSS and (#id_name) when selecting ids?
The same is true for jQuery.
by the way . Shooting # doesn't end with shooting.
You have to put $ ('') in there.

If you don't know select, click here

Select class

$('.class_name')

Select id

$('#id_name')

Select tag

$('div')

There are many more different Selectors, but we'll do that later and know only three of these. ^^
This concludes the course on Selector.
In today's next lesson, we learned about Selector, so let's use it. ^-^ *


Thank you for visiting. If you have any inquiry or explanation of mistakes, please use the comments below.


    
    

Back to the course

ALL COMMENTS 0

Sort by