jQuery And Its Basics
jquery is a important factor in designing a web page because it can perform many functions that it can include animations like slide down, slide up, toogle etc. They contribute more animations than a cascading style sheet.
Syntax:
Basic syntax is: $(selector).action()
$(document).ready(function(){
// jQuery methods go here...
});
The jQuery is written inside the script tag but only this function works when we write the Google's on Microsoft's script source code inside the script tag. The cdn of the script tag of Microsoft and Google is is given below:
Syntax:
Basic syntax is: $(selector).action()
$(document).ready(function(){
// jQuery methods go here...
});
The jQuery is written inside the script tag but only this function works when we write the Google's on Microsoft's script source code inside the script tag. The cdn of the script tag of Microsoft and Google is is given below:
Google CDN:
<head>
<scriptsrc="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
</head>
Microsoft CDN:
<head>
<scriptsrc="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.4.1.min.js"></script>
</head>
jQuery Syntax
The jQuery syntax is tailor-made for selecting HTML elements and performing some action on the element(s).
Basic syntax is: $(selector).action()
- A $ sign to define/access jQuery
- A (selector) to "query (or find)" HTML elements
- A jQuery action() to be performed on the element(s)
Examples:
$(this).hide()
- hides the current element.$("p").hide()
- hides all <p> elements.$(".test").hide()
- hides all elements with class="test".$("#test").hide()
- hides the element with id="test".
Thank you for sharing this informative post. Looking forward to read more.
ReplyDeleteWeb Design and Development Company
thx for sharing
ReplyDeletePHP Training in Chennai | Certification | Online Training Course | Machine Learning Training in Chennai | Certification | Online Training Course | iOT Training in Chennai | Certification | Online Training Course | Blockchain Training in Chennai | Certification | Online Training Course | Open Stack Training in Chennai |
Certification | Online Training Course
Thank you for sharing useful information with us. please keep sharing like this.
ReplyDeleteAnd if anyone like to take admission in Dehardun then check this.
Tula's Institute Best Bsc Agriculture Colleges in Dehradun
Thanks for one marvelous posting! I enjoyed reading it; you are a great author. I will make sure to bookmark your blog and may come back someday. I want to encourage that you continue your great posts.
ReplyDeleteFull Stack Training in Chennai
Full Stack Course Chennai
Full Stack Training in Bangalore
Full Stack Course in Bangalore
Full Stack Training in Hyderabad
Full Stack Course in Hyderabad
Full Stack Training
Full Stack Course
Full Stack Online Training
Full Stack Online Course
very interesting, good job and thanks for sharing such a good blog. Seo Services Delhi
ReplyDeleteI got really good information from this content.thanks for sharing.
ReplyDeleteSEO Training in Pune
SEO Training in Mumbai
SEO Training in Delhi
SEO Training in Bangalore
SEO Training in Hyderabad
Learn Full Stack Developer Course in Hyderabad from No.1 Full Stack Training Institute. We teach MERN Full Stack, JAVA Full Stack, Python Full Stack courses with Real time Projects. Our Full Stack Developer Course includes basic to advanced level concepts. We have designed our Full Stack Development Course content based on students' requirements to achieve goals. We offer Classroom Full Stack Development training in Hyderabad and Full Stack Development online training by 10+ years Experienced Industry Experts.
ReplyDelete