- All Jquery commands start with a “$” sign.
- Followed by the selection of the HTML element. For example below is a simple image where 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’
jQuery syntax structure can be broken down in to four parts:-