-
In jQuery all the elements are selected by writing ____________.
-
- $(“:button”)
- $(“*”)
- $(“.class_name”)
- $(this)
- None of these
Correct Option: B
In jQuery all the elments are selected by writing $(“*”). $(this) helps in selecting current HTML element. All the button elements are selected by writing $(“:button”). If we want to select a specific class we should write $(“.class_name”).