Which is the correct jQuery selector to select current HTML element?

18. Which is the correct jQuery selector to select current HTML element?

  1. $(this)
  2. $(cur)
  3. $(.this)
  4. $(#this)

Answer: A) $(this)

Explanation:

The $(this) selector is used to select current HTML elements.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.