Why Jquery developed ?
Jquery includes these features,
DOM-DOM elements selections just using for multi-browser to open source selector and also DOM manipulate with CSS selectors then we have Effect and animation and Ajax then JSON and so on.
Let’s know its syntax
Jquery syntax is such as:
Basic syntax is: $(selector).action()
Here $ sign to access or define the Jquery and selector is to find the HTML elements and parentheses is () to performed the elements.
$(“p”).hide-it will hide all paragraph <p> elements and $(this).hide-it will hide the current element.Here we have more example ,$(“.test”).hide()-it will hide all the elements with class=”test”.And $(“#test”).hide()-it will hide the element with the id=”test”.Here we have $(“p”)-you can select all paragraph just putting the $(“p”).
Now we will know Jquery Selectors
Jquery selectors allow to select the HTML elements and its selectors basically used to get or select the HTML elements based on their classes,types,values,name and id and much more.It works on basically the existing CSS selectors.Now we will know its selector,Here we have CSS selectors just see here to know more.
Now we will talk about Id selector
The id selector is used to find the specific element,and to find the element with specific id,just mention #(hash) character like $(“#test”).
Now we will talk about Jquery Events
it makes the thing User-Friendly just see the example of an event
- moving a mouse over the element
- clicking on an element,selecting a radio button
See some DOM(document object model) example
Now Jquery effects
Jquery has tons of effect like hide and show effect , fading effect,sliding effect,animating effect,stop effect,callback effect and also chaining effect.Now we will know all it’s mentioned effect,
Here we have
Jquery Hide/Show-see the image mentioned below
Here we have fading effect
Then we have sliding effect
Here we have animating effect
I will cover all the things from scratch in the tutorials.
watch the introductory video here(coming Soon)