-
Notifications
You must be signed in to change notification settings - Fork 0
Ajax
David Turner edited this page Jul 24, 2015
·
11 revisions
Do the Mozilla tutorial on Ajax.
Place your work in a folder named ajax inside your Cloud9 workspace.
There are 5 steps in the tutorial. For steps 3, 4 and 5 you should create files named as follows:
- step 3: step3.html and test.html
- step 4: step4.html and test.xml
- step 5: step5.html and test.php
You can use the following code for the contents of test.php.
<?php
$array = [
"userData" => $_POST['userName'],
"computedString" => "Hello, " . $_POST['userName']
];
echo json_encode($array);
?>
When you have completed the assignment, send me a link to your workspace in an email with subject line "ajax assignment".