Click below for Step by Step and Interview Q & A (dotnetinter) wrote,
Click below for Step by Step and Interview Q & A
dotnetinter

How does the basic syntax of Jquery looks like?( ASP.NET Jquery interview questions with answers)

Jquery syntax structure can be broken down in to four parts:-

  • All Jquery commands start with a “$” sign.

  • Followed by the selection of the HTML element. For example in the below Jquery call we are selecting a HTML textbox by id “txt1”.

  • Then followed by the DOT (.) separator. This operator will separate the element and the action on the element.

  • Finally what action you want to perform on the HTML element. For instance in the below Jquery code we are setting the text value to “Hello Jquery’.

                          HTML

In case you are new to jquery also see: - What is jquery ? ( jquery interview questions with answers )

We are thankful to Questpond.com to provide this jquery interview question with answer.
Tags: asp.net jquery syntax interview question, csharp interview questions, information technology questions, programming interview questions
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments