hey everyone
today i am going to show what is jquery
jquery has library of javascript. which is very easy programming languages
let us learn some advance of jquery language.
1. what is traversing function in jquery.
$('span').not('.trial, .abc'); this is example of traversing: traversing means select such span which has not name trial or abc.
2. jquery chaining
as name is chain for method this is basically help to join multiple function to each other.
eg:
3. siblings for finding similar of element
5. please like & share to all
if you have any query please comment.
visit our blog learnmayuinfosyssolutions.blogspot.in .
thanks For Watching.
today i am going to show what is jquery
jquery has library of javascript. which is very easy programming languages
let us learn some advance of jquery language.
1. what is traversing function in jquery.
$('span').not('.trial, .abc'); this is example of traversing: traversing means select such span which has not name trial or abc.
2. jquery chaining
as name is chain for method this is basically help to join multiple function to each other.
eg:
$("#abc").click(function(e) {
alert("click!");
}).mouseover(function(e) {
alert("mouse is here!")
}).mouseout(function(e) {
alert("mouse oh!hhh gone")
});
alert("click!");
}).mouseover(function(e) {
alert("mouse is here!")
}).mouseout(function(e) {
alert("mouse oh!hhh gone")
});
3. siblings for finding similar of element
eg:$('h1').siblings();
4. ajax get & post
$('#abc').click(funciton(){
$.get("abc.txt", function(data, status){
alert("Data: " + data + "\nStatus: " + status);
});
});
4. ajax get & post
$('#abc').click(funciton(){
$.get("abc.txt", function(data, status){
alert("Data: " + data + "\nStatus: " + status);
});
});
5. please like & share to all
if you have any query please comment.
visit our blog learnmayuinfosyssolutions.blogspot.in .
thanks For Watching.