I have the following PHP Code that outputs the query result (which is simply a mapping of a Product Name and its corresponding unit price) to a JSON file. The PHP code also populates the drop down list.
I have no problem in creating the JSON file and populating the drop down list. My main concern is this:
When the user selects a Product Name from the drop down list, how do I auto-populate another text field to display the Product's corresponding unit price?
No comments:
Post a Comment