Question: Write a file named hw8a.htm. A table with a header row that displays all the node names in a CUSTOMER node of your XML file
Write a file named hw8a.htm. A table with a header row that displays all the node names in a CUSTOMER node of your XML file should be initially visible. This file should have a form with a text field for a user to enter a customer's last name. With each keyup event, an AJAX request is made to a file named hw8a.php.
hw8a.php will take that lastname as a parameter, and search the XML file for all nodes with a lastname that starts with that parameter value. An XML response will be produced.
If there is no last name that starts with what is in the textfield, the XML response should just consist of the empty root element. Something like .
If there are last names that start with what is in the text field, the XML response should contain one CUSTOMER node for each customer that matched the criteria in the parameter.
When hw8a.htm receives the response, it should dynamically adjust the table to display the relevant
You can upload this file into your directory: Customer.xml information below
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
