JavaScript General Development tutorials
Click handlers can be assigned to elements easily with jQuery so when the element is clicked some particular action is run. This post looks at how to add a click handler to an element, explains how adding multiple click handlers will fire all of them, and then how to remove the click events.
Related Tutorials
Modify right-click menu behavior with jQuery
This post shows how to modify the right-click menu with jQuery - it's possible to either completely disable right-click context senstive menus or replace them with a custom dialog which is applicable to the application. This can be done to the page as a whole or just a specific element. While it's not normally a good idea to remove or change the right-click menu, sometimes it makes sense for a specific application.
Show and Hide Div with jQuery
This video explains how to show and hide div with the sliding effect using jQuery. The script you will write will also change the status of the button from Open to Close every time you click it. To show / hide div we are using the function next() to open the element which is placed right after the trigger.
Simple Draggable Element Persistence with jQuery
In this tutorial I will show you how to easily drag an element and make it stick, even after a page reload, by grabbing and storing its X and Y coordinates.
jQuery from Noob to Ninja: Selectors and Traversing
If you want to use jQuery, you won't come far without learning how to access elements. In this tutorial I will show how to access an element, and access child nodes. Also we will be comparing this to the oldschool javascript way of doing things.
Smooth Scrolling with jQuery
jQuery is a javascript library developed to make adding effects to websites very simple. A very popular option that you will find on websites is a link at the bottom of a page that says "top." When you click it, it will bring you to the top of the page very quickly. We can use jQuery to spice up this action my making the page scroll smoothly back to the top.
Ajax with JQuery - An Introduction with jQuery
jQuery is a well-known and famous lightweight, fast and concise JavaScript Library. jQuery simplifies various task for us like HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is great library to reduce our JavaScript coding so they quote "jQuery: The Write Less, Do More".
Get the mouse co-ordinates with jQuery when an element is clicked
This post looks at how to get the mouse co-ordinates when an element is clicked.
jQuery: Selectors
In this tutorial I will be teaching you all the selectors of jQuery. jQuery is a very powerful AJAX/Javascript based framework, that can be downloaded freely (link at the bottom of the tutorial). If you wish to use jQuery, you don't need to have any knowledge of Javascript at all.
JQuery and jFlow
Good evening everybody in todays tutorial well be dabbling into some jquery. Well be intergrating a jQuery plugin called jFlow into a website .
Writing Better jQuery Code
We all know that jQuery is great, that you can do things in 2-3 lines in jQuery that you can in 20 lines of Javascript, but is your jQuery code starting to get a bit bulky? Could you do things better?
Methods for Animation Effects with jQuery 1.4
The jQuery library provides several techniques for adding animation to a web page. These include simple, standard animations that are frequently used and the ability to craft sophisticated custom effects. In this article by Karl Swedberg and Jonathan Chaffer, authors of jQuery 1.4 Reference Guide, we'll closely examine each of the pre-packaged effect methods, revealing all of the mechanisms jQuery has for providing visual feedback to the user.
jQuery UI: Highlight multiple dates in jQuery datepicker
Learn how to get events from the database via AJAX and highlight them in the jQuery UI datepicker widget.
Javascript Event Handlers
An event handler executes a segment of a code based on certain events occurring within the application, such as onLoad or onClick. JavaScript event handers can be divided into two parts: interactive event handlers and non-interactive event handlers. An interactive event handler is the one that depends on user interaction with the form or the document.
jQuery TOOLS
jQuery Tools provides some UI addons to the basic jQuery Library. You can create Tabs, Accordions, Tooltips, Overlays and more using this library. The whole library fits in less than 6Kb, so you can replace all the separate libraries you are using for these functionalities by using this library.
Rounded Corners using jQuery
jQuery is slowly changing the way web designers and developers create web sites. Here is an extremely easy way to achieve rounded corners using jQuery.
Introducing the jQuery
Welcome to the first part of a seven-part series on the jQuery JavaScript library. In this article I will provide you with a quick overview of how to use the library including its helpful function and the ready method. The jQuery library allows you to build unobtrusive client-side applications with only minor effort and its syntax is simple to grasp.
Five Ways to Spice Up Your Site with jQuery
Javascript frameworks aren't just a path to AJAX without understanding XMLHttpRequest - mature libraries like jQuery are being across the board to improve usability, enhance accessibility and open doors to features you never thought were possible. With its inclusion in the ASP.NET platform, jQuery is now an accepted standard in all web development. In this tutorial, I'll show you five quick tips for spicing up your site, often without a single change to your existing code.
Jquery CSS Style Switcher
This tutorial will explain how to create a better jQuery stylesheet switcher. We'll simply change some colours for the user.
AJAX - jQuery Content Loading
Using jQuery (Lightweight JS Library) to load content from an external PHP file!
Game Development with Javascript and the canvas element - Introduction
Get started with JavaScript game development using the new canvas element. This article introduces the canvas element, and goes on to show how to develop a comple game.
Effects with jQuery 1.3
With jQuery, we can easily add impact to our actions through a set of simple visual effects, and even craft our own, more sophisticated animations. jQuery effects certainly add flair, as is evident when we see elements gradually slide into view instead of appearing all at once. However, they can also provide important usability enhancements that help orient the user when there is some change on a page (especially common in AJAX applications). In this chapter, readers will explore a number of these effects and combine them in interesting ways. (pdf file, install Acrobat Reader to read this tutorial)
jQuery ClippedImage plugin
This is a jQuery plug-in for displaying clipped image by providing the url, width, height, left and top the image being clipped.
JQuery fading menu
Learn how to create a JQuery navigation with a fading image hover effect. Complete step by step guide.
JQuery Autocomplete
Use jQuery to make a "Google style" autocomplete function for your forms. Help your visitors find things by searching in a database table for suggestions as they type and showing the results dynamically.
Changing page elements with the DOM
Learn how to use the DOM to alter Web page content. This article shows you how to change element content, add and remove elements in the page, move elements around, and work with attributes.
Enable JavaScript specific CSS with one line of jQuery
jQuery is by far my favorite JavaScript framework in terms of simplicity and just pure DOM power. I picked up a little trick at a conference quite a few months back and improved upon it and thought it could benefit anyone that believes in the mantra of progressive enhancement.
Specify multiple selectors with jQuery
jQuery post is a quick tip for writing more concise code, which is to specify multiple selectors using commas if the same function should be applied to multiple elements.
Add a new option to a select with jQuery
My last jQuery post looked at how to count the number of options in a select and then clear all options from the select. This post looks at how to add a new option to a select with jQuery.
JQuery fade in fade out
create a fade in, fade out effect on images,divs and text using simple jquery.
Animated Sharing Bar With jQuery and CSS
We are doing just that, by using pure JavaScript with the jQuery framework, to make an animated sharing bar, which will enable your website visitors to share posts on a number of social networks.
Creating Simple Animations
This is a basic JavaScript tutorial. I will describe how to move an element around the page using a simple animation script. The element you move around the page can be anything from an image to a paragraph.
The Simple, Quick, and Small jQuery HTML Form Validation Solution
This is a tutorial on how to write a live validation script for HTML form inputs using jQuery.
JQuery sliding menu
Learn how to create a button with a built in JQuery sliding menu similar to the on on PSDTUTS. Complete step-by-step. Example Included.
Default Form Values with jQuery
Here's a useful jQuery snippet that clears the default values of form fields on focus and refills them if no text is entered. It uses the attribute called defaultValue which stores the original value of a form field.
jQuery Lens plugins for showing lens inside an img
This is a jQuery plug-in displaying a lens and detecting the relative mouse position inside an image. Combining this plug-in with others plugin can format powerful tools, e.g. photo-chopping, zooming, CAD, etc.
Prevent double submit with jQuery
Another great little solution with jQuery. Needed a simple way to protect all the forms on our site from being double submitted. There was an attempted solution in place on our app, that added an onsubmit to every form with a function above it called ignore DoubleSubmit that tried to trap the event of the button was clicked and not allow it to be clicked again.
Google Buzz Widget - A jQuery Plugin
This is a jQuery widget for the brand new social network -Google Buzz- that you can embed anywhere to integrate your buzz stream into your page.
Rounded Corners using jQuery
Here is an extremely easy way to achieve rounded corners using jQuery.
Using Jquery to create an awesome registration page
In this tutorial we'll be using a number of Jquery functions to create a registration page that functions. Username availability, Password match and Email validation.
jQuery UI Accordion Widget Partt1
In this article we’ll be looking into a jQuery UI Accordion Widget. The accordion widget is another UI widget made up of a series of containers for your content, all of which are closed except for one.
 
Categories