Hi Guys,
Hoping someone can help me here. I am building a sports supplements e-commerce sitev using php and a mysql database. As such when someone goes to buy an item they have multiple choices i.e size and flavour of a certain product.
Someone selects a product they want to buy, they now have to choose a size and a flavour from 2 seperate drop down menus populated by the database.
What I want to have happen is have people first choose the flavour of the product, the size will be grayed out at this time. Once chosen the size list will become available populated with the available sizes in that flavour.
Now I believe this can be done with javascript, but I would prefer to be able to have it done using php(possibly having to do a page refresh?) so it will be compatible with people who have javascript turned off.
I have no idea where to begin searching with this one so if someone could provide me with a few links to examples or some such I would be very grateful!
Also if someone does know of a javascript way which falls back to being compatible if JS is turned off that would be fantastic!
Thanks!