AJAX
  1. AJAX intro
  2. AJAX basics
  3. AJAX browsers
  4. AJAX forms
  5. AJAX sending data
  6. AJAX summary

AJAX forms

An AJAX object is created, but now what? How do we display data on the page from AJAX? One way to do this is with forms.

This tutorial focuses on:

AJAX and forms

There is no special form or forms you have to use with AJAX to get data from it. A regular form will do, the only difference is with AJAX the form does not need a submit button and the data will get sent without it. This is the magic of AJAX!

Name: Advice:

The above form will be used together with AJAX in the next tutorial and it will display some text in the "advice" field once the user enters their name into the "name" field.

© Copyright 2013-2014 Landofcode.com
Terms of use | Privacy policy | Copyright information