Menu Search
Jump to the content X X
Smashing Conf Barcelona 2016

We use ad-blockers as well, you know. We gotta keep those servers running though. Did you know that we publish useful books and run friendly conferences — crafted for pros like yourself? E.g. upcoming SmashingConf Barcelona, dedicated to smart front-end techniques and design patterns.

45 Fresh Useful JavaScript and jQuery Techniques and Tools

Yes, this is another round-up of fresh and useful Javascript techniques, tools and resources. But don’t close the tab yet, as you might find this one very useful. In this selection we present calendars, forms, buttons, navigation, debugging, optimization and compatibility tables as well as handy resources and tools. We also cover various jQuery-plugins that will help you extend the functionality of your website and improve user experience with ready components or coding solutions.

The last section also covers a number of useful educational resources such as a compilation of useful JavaScript coding practices, a detailed comparison of JavaScript frameworks and general JavaScript programming conventions. We are looking forward to your feedback.

You may be interested in the following related posts:

Calendars and Timelines Link

jDigiClock – Digital Clock (HTC Hero inspired)4
jDigiClock is a jQuery plugin inspired from HTC Hero Clock Widget.

jDigiClock - Digital Clock (HTC Hero inspired)5

jQuery Sliding Clock v1.1
jQuery transpearant Slider clock with CSS sprites.

jQuery Sliding Clock v1.1

Date / Time Picker
Note that this control is not designed to work in IE6; although it will function correctly in most cases, the positioning of the calendar may be way off depending on how your page is styled.

Date / Time Picker

JavaScript Debugging and Validation Tools Link

Venkman JavaScript Debugger project page
Venkman is the code name for Mozilla’s JavaScript Debugger. Venkman aims to provide a powerful JavaScript debugging environment for Gecko-based browsers namely Firefox 3.x, the Netscape 7.x series of browsers, Netscape 9.x series, Mozilla Seamonkey 1.x and Mozilla Seamonkey 2.x. It does not include Gecko-based browsers such as K-Meleon 1.x, Galeon 2.x and Netscape 8.x. The debugger is available as an add-on package in XPI format. Venkman JavaScript Debugger has been provided as part of the Mozilla install distribution since October 3rd 2001.

Venkman JavaScript Debugger project page

CompanionJS6
Companion.JS (pronounced Companion dot JS or CJS) is a Javascript debugger for IE.

 CompanionJS 7

How to Test your JavaScript Code with QUnit8
QUnit is a powerful JavaScript unit testing framework that helps you to debug code. It’s written by members of the jQuery team, and is the official test suite for jQuery. But QUnit is general enough to test any regular JavaScript code, and it’s even able to test server-side JavaScript via some JavaScript engine like Rhino or V8.

How to Test your JavaScript Code with QUnit 9

JS Bin – Collaborative JavaScript Debugging10
JS Bin is an open source collaborative JavaScript debugging tool.

JS Bin - Collaborative JavaScript Debugging11

Forms, Buttons & Navigation Link

Making a Google Wave History Slider12
Here is shown how to create a Google Wave-like history slider. Using it will enable visitors to go back and forth in time to view the changes that take place on a comment thread.

Making a Google Wave History Slider 13

Fancy Radio Buttons With jQuery
Creation of 2 mandatory option sets that a user could choose, while hiding off the radio button inputs and using an anchor links to make it a bit more usable.

Fancy Radio Buttons With jQuery

Creative Button Animations with Sprites and JQuery14
Fading hover effect for which the transition is smoothed with JavaScript, using jQuery library.

Creative Button Animations with Sprites and JQuery 15

Password (un)Masking16
JavaScript jQuery that toggles the masking and unmasking of the password field.

Password (un)Masking 17

jQuery MagicLine Navigation18
These “sliding” style navigation bars have been around a while, and turns out it’s really pretty darn easy. Here are put two examples together.

jQuery MagicLine Navigation 19

Fixed Fade Out Menu: A CSS and jQuery Tutorial20
The aim is to have a fixed navigation that follows the user when he scrolls, and only subtly showing itself by fading out and becoming almost transparent. When the user hovers over it, the menu then becomes opaque again. Inside of the navigation we will have some links, a search input and a top and bottom button that let the user navigate to the top or the bottom of the page.

Fixed Fade Out Menu: A CSS and jQuery Tutorial 21

jQuery plugin: Simplest Twitter-like dynamic character count for textareas and input fields22
The best way to explain what this plugin does is to mention Twitter. Twitter posts are limited to 140 characters. While typing the Twitter post there is this always present information about how many characters the users have before reaching the limit. The information is not only provided merely by displaying a number, there are different colors applied to certain stages to notify the user about the status.

Sliding Labels v223
Form label keeping the label inline, but sliding it off to the left rather than going away on click.

Writing Efficient JavaScript24

Ketchup Plugin
Ketchup is a slim jQuery Plugin that validates your forms. It aims to be very flexible and extendable for its appearance and functionality.

Ketchup Plugin

Layout tools Link

jQuery {css}designerGrid Plugin25
{css} designerGrid is A jQuery Plugin developed for website interface developers who use the grid system of layout. {css} designerGrid is intended to assist these developers with CSS prototyping.

jQuery {css}designerGrid Plugin26

css-template-layout27
JavaScript (jQuery) implementation of the CSS Template Layout Module

  css-template-layout 28

How to create a fluid grid with jQuery
Grid-based layout is probably the more preferred way to style up a webpage to give it more magazine-like look and feel. This tutorial is about how to use CSS and Javascript to create a fluid grid-based layout (See demo here). The algorithm/procedure used in this tutorial is very simple and straightforward. There are more advanced algorithms out there which can handle multiple scenarios. But the purpose is to understand the basic logic on how to create such layout. So here it goes…

How to create a fluid grid with jQuery

closure-templates29
Closure Templates are a client- and server-side templating system that helps you dynamically build reusable HTML and UI elements. They are easy to learn and customizable to fit your application’s needs. Closure Templates support JavaScript and Java and use a data model and expression syntax that works for either language. You can also use the built-in message support to easily localize your applications.

  closure-templates 30

Useful jQuery Plugins Link

TipTip jQuery Plugin
TipTip detects the edges of the browser window and will make sure the tooltip stays within the current window size. As a result the tooltip will adjust itself to be displayed above, below, to the left or to the right of the element with TipTip applied to it, depending on what is necessary to stay within the browser window. TipTip is a very lightweight and intelligent custom tooltip jQuery plugin. It uses ZERO images and is completely customizable via CSS. It’s also only 3.5kb minified!

TipTip jQuery Plugin

jQuery Roundabout31
Roundabout is a jQuery plugin that converts a structure of static HTML elements into a highly customizable turntable-like interactive area. (And now, not just turntables, but many shapes!)

jQuery Roundabout32

jParse – jQuery XML Parse Plugin33
jParse is a jQuery plugin that allows you to parse XML that was fetched with the jQuery .ajax method (making it fully customizable).

jParse - jQuery XML Parse Plugin34

jQuery Quicksand plugin35
Reorder and filter items with a nice shuffling animation.

jQuery Quicksand plugin36

typeQuery, change website typography with jquery
typeQuery gives the flexibility to change the font-family for everything you define with class, id, or tag, this example is referring to the selected item on a select object with id=”tag” and the font-family value at select object with id=”family”: $($("#tag").val()).css("font-family", $("#family").val());

 typeQuery, change website typography with jquery

Flip! A jQuery plugin v0.9.9
Flip is a jQuery plugin that will flip easily your elements in four directions.

Flip! A jQuery plugin v0.9.9

Data Encryption With JavaScript: jCryption37
jCryption is a jQuery plugin for encrypting POST/GET data submitted by forms. It uses public-key algorithm of RSA for the encryption & has a PHP file for handling the decryption of data.

Data Encryption With JavaScript: jCryption38

Minimalist jQuery: 11 useful plugins under 4K
jQuery makes our lives easier. So much so that it’s tempting to use it all the time, inadvertently slowing our page load times (cue YSlow39 and Hammerhead40). Combining, compressing, and delivering scripts at the end of your page helps in the HTTP request department. On the file size front, below are jQuery plugins that give solid bang for your performance buck.

Minimalist jQuery: 11 useful plugins under 4K

Undo/Redo in jQuery
An easy-to-use plugin for adding undo/redo capabilities to a jQuery application. It is based loosely on the Objective-C/Cocoa way of doing things.

 Undo/Redo in jQuery

editease41
editEase – jQuery CMS | no fuss, no database, no worries

  editease42

jsHub43
jsHub is a single piece of JavaScript (a “tag”) that can handle reading different sorts of page information and then send them to many different vendors’ products. One piece of code to send to Google Analytics, Omniture SiteCatalyst, WebTrends and Mixpanel. Instead of one piece of JavaScript per vendor, jsHub has a single piece of code (the “hub”) and plugins that know how to translate into the required wire protocol for each vendor. Vendors only maintain the plugin for their product.

What is jsHub?44

Educational JavaScript Resources and Tutorials Link

Caffeinated Simpleton 45
JavaScript is an amazing little language, but it’s got some quirks that turn a lot of people off. One of those quirks is this, and how it’s not necessarily what you expect it to be. this isn’t that complicated, but there are very few explanations of how it works on the internet. This article is an attempt to explain how this works and how to use it properly.

Caffeinated Simpleton  46

What You Need To Know About JavaScript Scope47
This article discusses how JavaScript handles scope and how various JavaScript libraries provide methods for dealing with it and how they smooth out a few bumps. We’ll also look at how you can get back to basics and do some interesting scope wrangling without a library, a useful approach if you’re writing code that needs to stand alone.

What You Need To Know About JavaScript Scope 48

Learning Advanced JavaScript49
A very nice tutorial to learn JavaScript, containing code and discussion from the upcoming book Secrets of the JavaScript Ninja by John Resig.

Learning Advanced JavaScript50

Highlight search terms automagically with JavaScript and mark51
Script surrounding the search term(s) with the mark element rather than a span, although the class searchword is retained in case you want to style these marks differently from others. In the CSS, the rule article mark is just added to turn it a gentle shade of pink.

10 Really Helpful Traversing Functions in jQuery52
With jQuery, selecting HTML elements is laughably easy. But at times, we may wish to further refine the selection, which can be a hassle when the HTML structure is complicated. In this tutorial, we’ll explore ten ways that we can refine and extend a set of wrapped elements that we wish to operate upon.

10 Really Helpful Traversing Functions in jQuery53

Using keyboard shortcuts in Javascript54
If you want to enhance your web app, Javascript keyboards shortcuts is definitely something to consider. In this article, you’ll learn to use JS keyboard shortcuts, with and without the JQuery framework.

Using keyboard shortcuts in Javascript55

Code Conventions for the JavaScript Programming Language56
This is a set of coding conventions and rules for use in JavaScript programming.

Code Conventions for the JavaScript Programming Language57

jQuery – Select element cheat sheet58
This cheat sheet helps you to find the index of a selected option, set the selected option by value, set the selected option by text, insert a new option before or after another and get the text or value of the selected option.

 jQuery - Select element cheat sheet59

Compare JavaScript frameworks60
Modern Web sites and Web applications tend to rely quite heavily on client-side JavaScript to provide rich interactivity, particularly through the advent of asynchronous HTTP requests that do not require page refreshes to return data or responses from a server-side script or database system. In this article, you will discover how JavaScript frameworks make it easier and faster to create highly interactive and responsive Web sites and Web applications.

Compare JavaScript frameworks61

Park your Horse, Code Cowboy: Professional JavaScript Workflows, Part 162
In this series, we’ll talk about tools & techniques you can use to cover those No’s, and cut a lot of strife & embarrassment from your JavaScript experience.

 Park your Horse, Code Cowboy: Professional JavaScript Workflows, Part 163

JavaScript Reference examples (example source code)64
JavaScript Reference examples, organized by Objects, Properties, Methods & Collections. Some Event Handlers Reference are also available.

 JavaScript Reference examples (example source code) 65

JavaScript best practices66
A compilation of best practices and good advice I’ve amassed over the years, much of it learnt the hard way (experimentation and suchlike). Take the advice below to heart and keep it in a part of your brain that has a quick access route so you can apply it without thinking about it. I am sure you will find things to disagree with, and that is a good thing – you should question what you read, and strive to find better solutions. However, I have found that following these principles has made me a more effective developer and allowed other developers to build upon my work more easily.

JavaScript best practices 67

wtfjs
JavaScript is a language we love despite it giving us so much to hate. This is a collection of those very special irregularities, inconstancies and just plain painfully unintuitive moments for the language of the web.

wtfjs

You may be interested in the following related posts:

Poll Link


Footnotes Link

  1. 1 https://www.smashingmagazine.com/2009/06/21/50-fresh-javascript-tools-that-will-improve-your-workflow/
  2. 2 https://www.smashingmagazine.com/2010/01/12/45-powerful-css-javascript-techniques/
  3. 3 https://www.smashingmagazine.com/2009/03/08/70-new-useful-ajax-and-javascript-techniques/
  4. 4 http://www.radoslavdimov.com/jquery-plugins/jquery-plugin-digiclock/
  5. 5 http://www.radoslavdimov.com/jquery-plugins/jquery-plugin-digiclock/
  6. 6 http://www.my-debugbar.com/wiki/CompanionJS/HomePage
  7. 7 http://www.my-debugbar.com/wiki/CompanionJS/HomePage
  8. 8 http://net.tutsplus.com/tutorials/javascript-ajax/how-to-test-your-javascript-code-with-qunit/
  9. 9 http://net.tutsplus.com/tutorials/javascript-ajax/how-to-test-your-javascript-code-with-qunit/
  10. 10 http://jsbin.com/
  11. 11 http://jsbin.com/
  12. 12 http://tutorialzine.com/2009/10/google-wave-history-slider-jquery/
  13. 13 http://tutorialzine.com/2009/10/google-wave-history-slider-jquery/
  14. 14 http://www.tutorial9.net/web-tutorials/creative-button-animations-with-sprites-and-jquery-part-2/
  15. 15 http://www.tutorial9.net/web-tutorials/creative-button-animations-with-sprites-and-jquery-part-2/
  16. 16 http://www.vileworks.com/password-unmasking
  17. 17 http://www.vileworks.com/password-unmasking
  18. 18 http://css-tricks.com/jquery-magicline-navigation/
  19. 19 http://css-tricks.com/jquery-magicline-navigation/
  20. 20 http://tympanus.net/codrops/2009/12/11/fixed-fade-out-menu-a-css-and-jquery-tutorial/
  21. 21 http://tympanus.net/codrops/2009/12/11/fixed-fade-out-menu-a-css-and-jquery-tutorial/
  22. 22 http://cssglobe.com/post/7161/jquery-plugin-simplest-twitterlike-dynamic-character-count-for-textareas
  23. 23 http://www.csskarma.com/blog/sliding-labels-v2/
  24. 24 http://www.csskarma.com/blog/sliding-labels-v2/
  25. 25 http://www.kromosome.net/cssdesignergrid/
  26. 26 http://www.kromosome.net/cssdesignergrid/
  27. 27 http://code.google.com/p/css-template-layout/
  28. 28 http://code.google.com/p/css-template-layout/
  29. 29 http://code.google.com/p/closure-templates/
  30. 30 http://code.google.com/p/closure-templates/
  31. 31 http://fredhq.com/projects/roundabout/
  32. 32 http://fredhq.com/projects/roundabout/
  33. 33 http://jparse.kylerush.net/
  34. 34 http://jparse.kylerush.net/
  35. 35 http://razorjack.net/quicksand/
  36. 36 http://razorjack.net/quicksand/
  37. 37 http://www.webresourcesdepot.com/data-encryption-with-javascript-jcryption/
  38. 38 http://www.webresourcesdepot.com/data-encryption-with-javascript-jcryption/
  39. 39 http://developer.yahoo.com/yslow/
  40. 40 http://stevesouders.com/hammerhead/
  41. 41 http://code.google.com/p/editease/
  42. 42 http://code.google.com/p/editease/
  43. 43 http://www.jgc.org/blog/2009/10/what-is-jshub.html
  44. 44 http://www.jgc.org/blog/2009/10/what-is-jshub.html
  45. 45 http://justin.harmonize.fm/index.php/2009/09/an-introduction-to-javascripts-this/
  46. 46 http://justin.harmonize.fm/index.php/2009/09/an-introduction-to-javascripts-this/
  47. 47 https://www.smashingmagazine.com/2009/08/01/what-you-need-to-know-about-javascript-scope/
  48. 48 https://www.smashingmagazine.com/2009/08/01/what-you-need-to-know-about-javascript-scope/
  49. 49 http://ejohn.org/apps/learn/
  50. 50 http://ejohn.org/apps/learn/
  51. 51 http://www.brucelawson.co.uk/2010/highlight-search-terms-automagically-with-javascript-and-mark/
  52. 52 http://net.tutsplus.com/tutorials/javascript-ajax/10-super-helpful-traversing-functions-in-jquery/
  53. 53 http://net.tutsplus.com/tutorials/javascript-ajax/10-super-helpful-traversing-functions-in-jquery/
  54. 54 http://www.catswhocode.com/blog/using-keyboard-shortcuts-in-javascript
  55. 55 http://www.catswhocode.com/blog/using-keyboard-shortcuts-in-javascript
  56. 56 http://javascript.crockford.com/code.html
  57. 57 http://javascript.crockford.com/code.html
  58. 58 http://www.myphpetc.com/2009/03/jquery-select-element-cheat-sheet.html
  59. 59 http://www.myphpetc.com/2009/03/jquery-select-element-cheat-sheet.html
  60. 60 http://www.ibm.com/developerworks/web/library/wa-jsframeworks/index.html
  61. 61 http://www.ibm.com/developerworks/web/library/wa-jsframeworks/index.html
  62. 62 http://dailyjs.com/2010/01/27/pro-practices-1/
  63. 63 http://dailyjs.com/2010/01/27/pro-practices-1/
  64. 64 http://www.java2s.com/Code/JavaScriptReference/CatalogJavaScriptReference.htm
  65. 65 http://www.java2s.com/Code/JavaScriptReference/CatalogJavaScriptReference.htm
  66. 66 http://dev.opera.com/articles/view/javascript-best-practices/
  67. 67 http://dev.opera.com/articles/view/javascript-best-practices/
  68. 68 https://www.smashingmagazine.com/2009/06/21/50-fresh-javascript-tools-that-will-improve-your-workflow/
  69. 69 https://www.smashingmagazine.com/2010/01/12/45-powerful-css-javascript-techniques/
  70. 70 https://www.smashingmagazine.com/2009/03/08/70-new-useful-ajax-and-javascript-techniques/
  71. 71 http://answers.polldaddy.com/poll/2842024/
  72. 72 http://www.polldaddy.com
SmashingConf Barcelona 2016

Hold on, Tiger! Thank you for reading the article. Did you know that we also publish printed books and run friendly conferences – crafted for pros like you? Like SmashingConf Barcelona, on October 25–26, with smart design patterns and front-end techniques.

↑ Back to top Tweet itShare on Facebook

Advertisement

The Smashing team loves high-quality content and cares about the little details. Through our online articles, Smashing Books, eBooks as well as Smashing Conferences, we are committed to stimulating creativity and strengthening the web design community’s creative forces.

  1. 1

    Finally! I was really waiting on one these nice summaries of good jQuery techniques… Thanks!

    edit: The one’s with pretty radio buttons, magicline and flip! are awesome..

    0
  2. 2

    Yes, this is a good post. Always great to see what/how jQuery is changing web interactivity. Thanks SM

    0
  3. 3

    amazing post, very useful! i liked the labels’ one! keep going!

    0
  4. 4

    Great article, SM!

    0
  5. 5

    Rodrigo Acevedo

    March 12, 2010 8:22 am

    Wow! i can`t close my mouth! ..
    This was an amazing post about Jquery …
    Thanks :D

    -1
  6. 6

    Nice article, great collection, looks like an army of jquery plugins…

    0
  7. 7

    indeed dude ! After long time we had a jquery round up. I love quicksand most. Moreover i find really unkown jquery plugins http://www.webdeveloperjuice.com/2010/03/12/9-jquery-plugins-you-probably-havent-seen/
    My favr8 quicksand is also listed here :)

    2
  8. 8

    Gláuber Kélvin

    March 12, 2010 9:51 am

    Gostei da lista. Vai me ajudar e muito!! ;D BRASIL

    0
  9. 9

    Maicon Sobczak

    March 12, 2010 10:20 am

    Useful list. jQuery is very powerful in its simplicity.

    0
  10. 10

    Shoulda mentioned the jQuery before/after from catchmyfame.com

    2
  11. 11

    jQuery is certainly not simple… It’s 50kb and most of the functions call other “factory” functions.

    -1
  12. 12

    Yeah, this is WEB 2.0! Thanks you very much for such great articles.
    Greetings from Germany!

    1
  13. 13

    Celalettin Akın

    March 12, 2010 12:06 pm

    Yes, yes. These are really very useful.

    0
  14. 14

    This is amazing, thank you so much for putting this together.

    0
  15. 15

    Fantastic list, bookmarked!

    0
  16. 16

    Great post. I’m currently learning JS, and its the HARDEST thing ever. lmao.

    I have used jQuery several times, but this coding from scratch thing is the pits. :D

    1
  17. 17

    Hastimal Shah

    March 12, 2010 8:05 pm

    Thanks for Sharing.
    It was great collection. So many new things for me in jquery.

    0
  18. 18

    phongptdesign

    March 12, 2010 9:05 pm

    I just start learning Javascript, it’s very complicated for me, this collection is really useful. Thanks for sharing.

    0
  19. 19

    nice collection, good to read

    0
  20. 20

    Hey

    Thanks for sharing such great content.

    0

↑ Back to top