What is jQuery?

2 Likes 2 Comments
jQuery

144 total views, 3 views today

jQuery is the most popular framework of JavaScript. Different browsers execute JavaScript, use different techniques to display results in the browser. jQuery brings these capabilities to a unique format. As a result, JavaScript code can be easily written here. jQuery is also called cross-browser JavaScript library.

Many browsers “: nth-child (n)” does not support Pseudo-class, we can easily support it through jQuery.

Example Code:

<html>
<head>
<title> www.mydemo.com</title>
<style type="text/css">
.arif{
color:blue;
}
</style>
</head>
<body >
<ul class="emphasis">
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
</ul>
</body>
</html>

$ (‘Ul.emphasis’) children (‘li’). First (). AddClass (‘arif’); In this case, the arif class will be added to the first li under ul.emphasis.

<style type = “text / css”>
ul li: nth-child (1) {
color: blue;
}
</ style>

The same work will be done by this css. But the difference is that css code will not support many browsers, jQuery code will support all browsers.

You might like

About the Author: Pureblogtips

I am a professional blogger about freelancing. According to my knowledge, I try to help others Freelancer. I started blogging since 2017. I also do Affiliate Marketing, CPA marketing, SEO , Wordpress Development and Web Design. I work in various freelancing marketplaces.

2 Comments

  1. Hello There. I found your blog using msn. This is an extremely well
    written article. I will be sure to bookmark it and come back to read more of your useful info.
    Thanks for the post. I will definitely return.

  2. My brother recommended I might like this web site.
    He was totally right. This post truly made my day. You can not imagine just how much time
    I had spent for this info! Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *