norwegianfellah Posted March 5, 2012 Share Posted March 5, 2012 Hello, guys! Just a small first ever thread, where I ask a question where I hope anyone is able to help me out I am working on a project with a friend of mine for a company. I have a problem with the function on a form. I wonder; How do i change the option value of a form? Let's say if I choose a category like "Cake", I want the second drop down box to display different brands of cake. But if I choose bicycle for example, I want the option values to be different brands of bicycles. I hope you guys understand what I was trying to say here. Anyways, here is a sample image where I want this function to occur: Sample: Cheers and thanks in advance, Marius Quote Link to comment https://forums.phpfreaks.com/topic/258313-a-question-regarding-and-value/ Share on other sites More sharing options...
litebearer Posted March 5, 2012 Share Posted March 5, 2012 Take a look here http://www.plus2net.com/php_tutorial/ajax_drop_down_list.php Quote Link to comment https://forums.phpfreaks.com/topic/258313-a-question-regarding-and-value/#findComment-1324092 Share on other sites More sharing options...
norwegianfellah Posted March 5, 2012 Author Share Posted March 5, 2012 Thanks a lot.. My Google skills failed me, but you saved me! Cheers, marking this as resolved. Quote Link to comment https://forums.phpfreaks.com/topic/258313-a-question-regarding-and-value/#findComment-1324101 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.