Thursday, August 23, 2018

JQuery Interview Questions and answers

1.What are the basic selectors in jQuery?

Following are the basic selectors in jQuery:

A)Element ID
    A ID available the DOM Using ID we can axxess the control in JQuery.

using JQuery
$("#EmpId")

B)CSS Name
     A  class name will be available in the DOM usinf class name we can access this in JQuery.

using JQuery
$(".Menu")

C)Tag Name
    A tag name available in the DOM. For example $('a') selects anchor tags in the DOM.

using JQuery
$("a")

1 comment: