background preloader

JavaScript

Facebook Twitter

The Power of jQuery with Ajax. As the web evolves, new technologies are emerging and uniting in remarkable ways. The combination of Ajax and jQuery, in particular, is one of the most powerful unions to date. The purpose of this article is to give a brief and generalized overview of both Ajax and jQuery, and also discuss how jQuery has made Ajax development easier than ever before. What is Ajax? Since its conception in 2005[1], Ajax (Asynchronous JavaScript and XML) has changed the web as we know it today. Ajax in Practice Let’s say that you have a login form for your web application. A more savvy approach to this problem would be to check if the login and password is correct using Ajax. Here’s how Ajax would work in this instance: Once the user has typed in a login name and password and submitted the login web form, you could have a JavaScript function that invokes an Ajax call that sends two parameters — the login name and password.

Next, you would then have a JavaScript function that accepts the Ajax response. Great jQuery Screencasts to Learn From. Once a Web Developer or Designer has mastered HTML and CSS, the next step is to learn a new development language. jQuery is a Javascript Library, and it happens to be a great addition to HTML and CSS knowledge. From the jQuery Homepage - jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript.

To start using jQuery, you need to call its .js file in your page’s header, but don’t worry – these screencasts will show you how to get started and advance your skill set. The videos mentioned are – for the most part – ordered in this article from easiest to hardest. Introduction to jQuery In this screencast by Chris Coyier from CSS-Tricks, he gives an introduction to jQuery and some simple functions that you can use on your own websites. Text Shadows & jQuery In this podcast by <!

“jQuery for Absolute Beginners” Series jQuery Tabs. Javascript. Make Your Own Bookmarklets With jQuery - Smashing Magazine. Advertisement Bookmarklets are small JavaScript-powered applications in link form. Often “one-click” tools and functions, they’re typically used to extend the functionality of the browser and to interact with Web services. They can do things like post to your WordPress or Tumblr blog, submit any selected text to Google Search, or modify a current page’s CSS… and many other things!

Because they run on JavaScript (a client-side programming language), bookmarklets (sometimes called “favelets”) are supported by all major browsers on all platforms, without any additional plug-ins or software needed. In this article, we’ll go through how to make your own bookmarklets, using the jQuery31 JavaScript framework. Getting Started You can make a faux URI2 with JavaScript by prefacing the code with javascript:, like so: <a href="javascript: alert('Arbitrary JS code! ') A link to an externalized bookmarklet: Enter jQuery That starts by defining v, the minimum version of jQuery that our code can safely use.

50 jQuery Plugins for Form Functionality, Validation, Security a. Lets be honest, forms can be a pain in the ass to fill in. And for developers? There an even bigger pain in the ass to build. No one really likes them, as such, the most difficult challenges that a developer has to take on, when it comes to forms, is not only how to build a form that is easy and quick for the user to use, but also make it as accessible and usable as possible. Its not easy. In this article we have collected 50 jQuery plugins to help you build powerful forms. Form Functionality Plugins Elastic – Make your textareas grow This jQuery plugin makes your textareas grow and shrink to fit it’s content. jQuery “Highlight” Plugin Highlight increases usability of forms by highlighting the elements as you interact with the page. Autotab: jQuery Auto-Tabbing and Filtering Autotab is a jQuery plugin that provides auto-tabbing and filtering on text fields in a form.

Ajax Fancy Captcha jQuery NobleCount Password Strength Indicator and Generator FormToWizard Plugin ToggleVal jQuery AlphaNumeric. How to build a web widget (using jQuery) - Alex Marandon. Published on 15 June 2010, updated on 10 February 2015, 110 Comments Introduction I created some web widgets for the London’s Design Museum and learned a few useful things in the process. Although all the necessary information can be found on the web, I couldn’t find a really comprehensive guide about doing this with jQuery so I decided to write this one. I’ll cover only techniques which are specific to web widgets so you should already be familiar with JavaScript, jQuery and web development if you want to follow easily.

The interesting points will be: ensure the widget’s code doesn’t accidentally mess up with the rest of the page, dynamically load external CSS and JavaScript files, bypass browsers’ single-origin policy using JSONP. Don’t worry if all this doesn’t make sense to you yet, we’ll see in details what these techniques are used for in the context of building web widgets. That’s really all that a web site owner would need to include our widget on her pages. Can’t it be even simpler? 25 jQuery Tutorials for Creating and Working with Forms - Web De. Get the FlatPix UI Kit for only $7 - Learn More or Buy Now A few weeks ago we published a collection of jQuery plugins for working with forms. While those plugins can be very useful, there may be times where you would rather learn how to code the solution yourself rather than simply using a plugin.

There are a number of quality tutorials available for working with jQuery and forms, and in this post we will feature 25 of them. jQuery Form Tutorials: Creating a Slide-in jQuery Contact Form 3.jpg Ajax Forms with jQuery A Fancy AJAX Contact Form WordPress and jQuery Contact Form Without a Plugin Perfect Signin Dropdown Box Like Twitter with jQuery Creating a Digg-Style Sign Up Form Build an Incredible Login Form with jQuery Submit a Form Without Page Refresh Using jQuery Using Form Labels as Text Field Values Build a Simple Password Strength Checker Create a Progress Bar with JavaScript A Fancy Apple.com-Style Search Suggestion How to Add Auto Complete to Your Google Custom Search Engine.

25 jQuery Tutorials for Improved Navigation Menus - Web Design B. Get the FlatPix UI Kit for only $7 - Learn More or Buy Now In this post, I have collected 26 useful jQuery navigation menu tutorials. Enjoy! Mega Drop Down Menus w/ CSS & jQuery Animated Navigation with CSS & jQuery Create Simple Dropdown Menu Using jQuery Collapsing Site Navigation with jQuery Use Sprites to Create an Awesomeness-Filled Navigation Menu Thumbnails Navigation Gallery with jQuery Sexy Drop Down Menu w/ jQuery & CSS How to Create a Drop-down Nav Menu with HTML5, CSS3 and jQuery Slide Down Box Menu with jQuery and CSS3 Awesome Bubble Navigation with jQuery Beautiful Background Image Navigation with jQuery Fancy Apple-Style Icon Slide Out Navigation Halftone Navigation Menu With jQuery & CSS3 Beautiful Slide Out Navigation Revised Animated Navigation Menu with CSS3 Create animated vertical Menu Using Jquery Create Bounce out Vertical menu with jQuery jQuery Dropdown Navigation in WordPress Create an apple style menu and improve it via jQuery How to Build a Lava-Lamp Style Navigation Menu.

jMapping: Create Google Maps From Semantic Markup.