-
Notifications
You must be signed in to change notification settings - Fork 0
Ajax
David Turner edited this page Jul 24, 2015
·
11 revisions
- In your cse322 workspace, create a folder named ajax. Place all the work you do for this assignment in this folder.
- Read steps 1 and 2 of the Mozilla tutorial on Ajax.
- Do step 3 of the Mozilla tutorial on Ajax. Place your code in files named step3.html and test.html.
- Do step 4 of the Mozilla tutorial on Ajax. Place your code in files named step4.html and test.xml.
- Do step 5 of the Mozilla tutorial on Ajax. Place your code in files named 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);
?>
- Send me an email before the assignment deadline with a link to your workspace. Write ajax assignment in the subject line of the email.