Most useful jQuery functions for your website!!

By , March 21st, 2013 , Tags: , , , , 1 Comment

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!

  • 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.

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 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.

Get Updates On 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 Today

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