cshoffie Posted February 26, 2008 Share Posted February 26, 2008 Hey everyone, is it possible using php/java to have input fields automatically updated based on the selection of a previous input box? For instance, I'm creating a system to where a person can upload an image for gallery. I have parent categories and subcategories that will be used to organize the images. I want the user to specify which parent category their image belongs to and then also the subcategory. What I want it to do is when the user selects the parent category (the <option>'s for which will be drawn from a DB) the subcategory selection box right next to it, will update itself according to which parent category was selected, based upon what the subcats are for the parent cats in the DB. Know what I'm saying?? I know how to get the info from the DB, I just need help with the java part of it. Any help would be GREAT! Quote Link to comment Share on other sites More sharing options...
fenway Posted February 26, 2008 Share Posted February 26, 2008 This is classic ajax. Quote Link to comment Share on other sites More sharing options...
cshoffie Posted February 26, 2008 Author Share Posted February 26, 2008 Care to fill me in on how to do it? Quote Link to comment Share on other sites More sharing options...
fenway Posted February 26, 2008 Share Posted February 26, 2008 Care to fill me in on how to do it? Much easier explained by a php/ajax tutorial... but since I'm not versed in this, I can't suggest one. Must be one on the php help / ajax help board stickies? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.