Currently Browsing :: AJAX



Ajax Form Validation (AJAX Tutorial)

Posted by James Harvey at 7:39 AM on Nov 26, 2008
0 comments - Posted In: Tutorials | AJAX

In this tutorial I decided to beef up my form validation routine. Don't get me wrong, I love JavaScript Form Validations, but have found in he past that they can be at times over come or bypassed all together.

With this minor inconvience in mind, I started Experimenting with an AJAX version (using prototype and scriptaculous), that will validate your Form's input directly on the page.

Below is what I've put together.

Read more...



Uploading Files Like GMail Attachments (HTML & AJAX Tutorial)

Posted by James Harvey at 10:08 AM on Nov 14, 2008
0 comments - Posted In: Tutorials | AJAX

Ever wanted to upload files using AJAX like in GMAIL, without reloading the page? Now you can. Cross browser method to upload files using AJAX in only 1Kb of code, it is indeed similiar to my Previous Post Uploading Files Like Gmail Attachements in PHP except this version uses HTML & JavaScript and is not dependant upon a Server Side Language (however i imagine you could easily apply it to any language).

Read more...



Uploading Files Like GMail Attachments (PHP & AJAX Tutorial)

Posted by James Harvey at 10:02 AM on Nov 14, 2008
0 comments - Posted In: Tutorials | PHP | AJAX

Asynchronous file uploads is quote popular feature in modern AJAX web-applications. However standard AJAX classes (XmlHttpRequest) does not have capabilities to process or send files selected with "file dialog" (input type="file"). This article contains example application (trivial file-sharing service, like rapidshare, megaupload or yousendit) which uses embedded frames (IFRAME) to upload file. While file is uploaded to hidden frame, user can still access web-page and fill "file description" field.

Read more...