Forum Moderators: open
You can approach it in one of two ways. The first is to provide degrading functionality, e.g. a standard form with action ="submit.php" gets changed into an AJAX enabled form with an onSubmit handler only if javascript is there. The second way is to test for the presence of javascript and then serve up different pages to those who have it (i.e. with ajax functions instead of more traditional coding methods).