rmpotter Posted August 13, 2009 Share Posted August 13, 2009 I am looking to populate a few select boxes based on the selection made in a preceding select box. Each box uses PHP/SQL to pull that data that populates it. The form itself resides inside of a div on the page so I need a method that does not cause me to reload the entire page. If anyone could help point me in the right direction it would be appreciated. Link to comment Share on other sites More sharing options...
Guest FirefoxRocks Posted August 13, 2009 Share Posted August 13, 2009 What you need is AJAX. AJAX is compatible with PHP to set the value (or innerHTML) of an element to retrieved data.This is the correct example, except the data is put into a table instead of a select box:http://w3schools.com/php/php_ajax_database.asp Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.