1. Other
  2. Other
  3. write a file named hw7ahtm a table with a header...

Question: write a file named hw7ahtm a table with a header...

Question details

Write a file named hw7a.htm. A table with a header row that displays all the field names in the SALES table of your database should be initially visible. This file should have a form with a text field for a user to enter a CUSTOMERID. With each keyup event, an AJAX request is made to a file named hw7a.php. hw7a.php will take the customerID as a parameter, and produce a response that will consist of a JavaScript function call. If there is no customerID in the SALES table that starts with what is in the textfield, the function call should be not_there(). If there are customerIDs in the database table that start with what is in the text field, the function call should be there(), and it should have arguments that are all the fields of those records in the SALES table.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution