danscreations Posted November 17, 2008 Share Posted November 17, 2008 Doubt its even possible but figured I'd ask. Build a gallery script that generates menus based off of folders on the server and displays them as options in dropdowns based off what the customer selects. It submits a form to itself (the php page) which works fine but having to reload the rest of the graphics on the page slows it down a bit. Was wondering if instead of submitting the form to the page iself with the selected choice if it can be done on the page internally to make the script quicker? The script: http://www.ccwheel.com/new/gallery.php Builds the menu's based off the following folder structure: Gallery > Make > Model > Chassis > Wheel. Depending on each folder contents will read each sub folder and display it as a choice in the dropdown. Once the wheel is select it does the same just for each image in the last sub folder. Link to comment https://forums.phpfreaks.com/topic/133111-passing-variables-dynamicly-with-out-submitting-refreshing/ Share on other sites More sharing options...
Zhadus Posted November 17, 2008 Share Posted November 17, 2008 Not possible with just PHP. Will need to use Javascript/AJAX Link to comment https://forums.phpfreaks.com/topic/133111-passing-variables-dynamicly-with-out-submitting-refreshing/#findComment-692244 Share on other sites More sharing options...
danscreations Posted November 17, 2008 Author Share Posted November 17, 2008 Not possible with just PHP. Will need to use Javascript/AJAX Have any links to more information on doing so.... Link to comment https://forums.phpfreaks.com/topic/133111-passing-variables-dynamicly-with-out-submitting-refreshing/#findComment-692249 Share on other sites More sharing options...
revraz Posted November 17, 2008 Share Posted November 17, 2008 Look at the Ajax and/or Javascript forum here or search. Link to comment https://forums.phpfreaks.com/topic/133111-passing-variables-dynamicly-with-out-submitting-refreshing/#findComment-692250 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.