OK, firstly am no ASP techie, more of a PHP person myself so I need a bit of help here. I have been asked to create a search function for a website which comprises of the following criteria.
I need 3 dropdown menus. The menus will be populated with data from a SQL database. The menus will need to be: Category -> Product Series -> Product.
Each dropdown menu will be populated with data depending on the previous menu i.e. the first menu selection populates the second and so on.
As of now I have 2 menus working. To achieve this I am using some javascript, function reload(form) to pass the value to the next menu. My problem is how can I pass the second menus value to the third menu? Can I use another instance of the javascript function or is there another way of doing it?
Here is the javascript code I am using
CheersCode:<SCRIPT language=JavaScript> function reload(form){ var val=form.category.options[form.category.options.selectedIndex].value; self.location='http://website/search.asp?brand=' + val ; } </script>





Bookmarks