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

2

(808) 801-9830

Brent

Cummings

9197 Hatchet Drive

96815

3

(617) 843-6488

Dwight

Logan

1760 Clearview Street

02109

4

(502) 007-0907

Shatika

Gilbert

4407 Green Street

40342

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!