0 votes
in JQuery by
What is the difference between the ID selector and class selector in jQuery?

1 Answer

0 votes
by

The ID selector and class selector are the same as they are in CSS. ID selector uses ID while the class selector uses a class to select elements. You use an ID selector to select just one element. If you want to select a group of elements, you can use the same CSS class to use the class selector.

Related questions

0 votes
asked Nov 19, 2020 in JQuery by rajeshsharma
0 votes
asked Nov 19, 2020 in JQuery by rajeshsharma
...