Archive for November 3rd, 2009

Validatious: Form Validation With Unobtrusive JavaScript

Validatious is an unobtrusive JavaScript that allows you to easily add form validation. Validatious does not requires any JavaScript library; however if you’re using one, it can easily work with it. It is cross browser and has been tested to work on IE6+, Firefox 2.0+, Opera 9.5+, Safari 3.0+, Chrome.

You can use it to validate forms with semantic HTML and/or a simple JavaScript DSL. Validatious has multilingual support and easily extensible (i.e., adding custom validators) with only a couple of lines of JavaScript. Several settings allow you to control how and when Validatious does validation, how it displays errors and more. If configuring isn’t enough, callbacks and easy overriding gives you complete control.

Validatious is written by Christian Johansen. The standalone version gratefully uses Dean Edwards’  addEvent  and Base as well as addDOMLoadEvent, created by Jesse Skinner, Dean Edwards, Matthias Miller and John Resig.

Validatious is offered with a BSD License, which means you can use it for whatever you want to, however you want to. You can find further information, demo, documentation & download on Validatious Website.

Similar Posts:

You can also stay updated by following us on Twitter, becoming a fan on Facebook or by subscribing to our FriendFeed.


Examining ASP.NET 2.0′s Membership, Roles, and Profile – Part 17

Many of the web applications I help build can be classified as in-production line of business applications that receive frequent and ongoing feature enhancements. Typically, these applications have dozens if not hundreds of users who rely on the site each and every day to accomplish tasks necessary to keep the company running smoothly. Every week or so the latest code is deployed to the production servers, bringing with it bug fixes and, very often, new features or changes to existing features. One challenge I've bumped into when working on such applications is how to best alert users of the new features and the changes to existing features?

One useful way to announce any important, system-wide changes is to do so immediately after the user signs into the site. A very simple way to accomplish this would be to automatically redirect all users to an announcements page after signing in, which would list information about the most recent updates to the application. However, this approach desensitizes the user to the announcement page since they are sent there each time they sign in, regardless of whether they've already seen the announcement. A better approach is to determine if there were any announcements made since the user last signed in. If so, redirect the user to a web page that displays just those unread announcements.

This article shows how to implement such a system using ASP.NET's Membership system, the Login control, and a dash of code. A complete working demo is available for download at the end of this article. Read on to learn more!
Read More >


New accessibility overview on the W3C website

As I mentioned in New W3C website launched, the W3C recently launched a new version of their website. One of the new (to me at least – I don’t remember seeing it on the old site) documents is the Accessibility overview in the Web Design and Applications section.

The document is a great summary of what Web accessibility is and why it is important. It also contains links to further reading, accessibility guidelines, examples, and much more.

Read full post

Posted in , .



Using Flash Remoting for Authentication to your AFCS/Facebook AIR Application

If you have had an opportunity to look at the Adobe Flash Collaboration Service (AFCS) you could see that there is a huge opportunity to do interesting multi-user applications without needing to write all of the server side code. However there is the challenge of how do you control who comes into your application and what they are allowed to do. In addition, keeping your application credentials safe in case your SWF file was decompiled. So as the title suggest you can use a service like Facebook to take care of the users authentication and Flash Remoting for the application authentication.

Create callback functions for your jQuery plugins & extensions

Most of the time custom jQuery plugins and extensions that we create do not use a callback functions. They usually simply work on DOM elements or do some calculations. But there are cases when we need to define our own custom callback functions for our plugins. And this is especially true when our plugins utilize AJAX querying. Let’s say our custom jQuery extension gets data by making some

  • Sponsored Links

  •  

    November 2009
    M T W T F S S
    « Oct   Dec »
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    30  
  • .

    Copyright © 1996-2010 Answer My Query. All rights reserved.
    iDream theme by Templates Next | Powered by WordPress