CLASS web

jQuery

selector

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. ^-^ *





ALL COMMENTS 0

Sort by

PinkCoding

PinkCoding

X

PinkCoding

Web Scratch Pad

X

loading

            
            
        

Back to the course