farberama Posted March 15, 2005 Share Posted March 15, 2005 I need to be able to populate an option drop down menu based on the customer's choice in a different drop down. I'm assuming this has to be done with javascript, but have never had to do it before. Has anyone done this? If so, can you give me any guidance? Thanks in advance. -Bill Link to comment Share on other sites More sharing options...
tina_boots Posted March 16, 2005 Share Posted March 16, 2005 I need to be able to populate an option drop down menu based on the customer's choice in a different drop down. I'm assuming this has to be done with javascript, but have never had to do it before. Has anyone done this? If so, can you give me any guidance? Thanks in advance. -Bill <{POST_SNAPBACK}> Hello Bill, I've performed that task before at my day job. There are two ways that you could accomplish it. One would be with Javascript as you suggested. The other would be with PHP, however if you go that route you would need to refresh the page with the onchanged event of the first drop down. I just did a search on dynamically populating a dropdown list with JavaScript and found several examples doing it that way. Be well, Tina If you're not having fun you're not doing it right Teach a person to fish rather than give them a loaf of bread or however that saying goes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.