Most useful jQuery functions for your website!!

6 Flares Twitter 1 Facebook 2 Google+ 3 StumbleUpon 0 LinkedIn 0 Pin It Share 0 Email -- 6 Flares ×

If you’re new to jQuery, you should bookmark this page now. We have put together a simplified list of the most commonly used jQuery functions for your website along with examples of how to use them.

Note: In these examples, you’ll see “1000″ – this is referring to the speed of the animation. This can be replaced with any number or you can also use “slow”, “fast” or leave blank.

Note: In these examples, you’ll see “#DivID” – this can be substituted for any one of the jQuery selectors for different elements. It is not restricted to just divs.

1. Commonly Used jQuery Selectors:

 

2. jQuery Toggle, Show and Hide Functions:

 

3. jQuery Slide Functions:

 

4. jQuery Fade Functions:

 

5. jQuery Animate Functions:

 

6. Add & Remove CSS Classes:

 

7. Get & Set Textbox Values: 

 

8. Get & Set Element’s HTML:

 

9. Get & Set Element’s Text:

 

10. Get & Set Element’s Width & Height:

 

11. EXTRA: Change Element’s CSS Property

So there you have it! If you see any we missed, let us know! If we think it would be a good addition for this article, we’ll definitely add it!

Good Luck!

6 Flares Twitter 1 Facebook 2 Google+ 3 StumbleUpon 0 LinkedIn 0 Pin It Share 0 Email -- 6 Flares ×

Leave a Comment



  • http://www.dazf532min.com Homer Malinovsky

    I simply want to mention I’m beginner to blogs and certainly savored this web blog. Likely I’m going to bookmark your site . You really have very good articles and reviews. Regards for sharing with us your web page.

Author:

I'm a hardworking web person from Mumbai, India. My main skills in the front-end development of websites. I'm very friendly so please don't hesitate to get in touch regarding any quotes or general inquiries you may have. I founded CSS Matter in 2013 with the sole ambition of design, development, creativity and innovation on the Internet, which recognize and promote the best web designers, developers and web users in the world. I'm skilled, talented, creative and very passionate about my work. - I can make websites that look and function great. - I can design branding that portrays your organization or business perfectly. - I can make eCommerce stores so that you can sell goods or services online. - I can make content manageable websites that are flexible and simple to operate. - I can make any website look great on every mobile device that exists, - I can do loads of stuff. I like to work closely with people to ensure that each stage of a project goes great every step of the way. I like to ensure that all of my finished projects/work reflect how highly I would like to be perceived. I'm confident that with your ideas and my expertise we can create something that makes us both smile. If you like what I do, and think we could work together then don't hesitate to get in touch with me. Skype IM : cssmatter And Email


Want to write for CSS Matter?

If you’re interested in becoming part of the CSS Matter team of authors, please send an email to Manish Salunke. It’s best if you already have article ideas in mind – but if you don’t, he’ll help you find a good topic to cover.

Twitter

Do you want to get real-time updates, interesting web links, site news and announcements via Twitter? Follow CSS Matter on Twitter.

Subscribe to the RSS feed

The best way to keep up with CSS Matter articles regularly is by putting the CSS Matter RSS feed into your feed reader.