I have multiple select boxes in a form. When the user selects the last select box I need to get the selected index from each select box and use the onchange event to call window.location.href. When I just use each selected index in the browser url string window.location.href works. When I do the following it does not work. Once window.location.href changes the window location I need to use the PHP super global $_GET to get the selected index from each select box. Can someone help? onchange="window.location.href=http://imagews.com/index.php?option=com_virtuemart&page=shop.product_details&flypage=flypage.tpl&product_id=20&Color=+document.addtocart.Color.options[document.addtocart.Color.selectedIndex].value&Size=+document.addtocart.Size.options[document.addtocart.Size.selectedIndex].value&Quantity=+document.addtocart.Quantity.options[document.addtocart.Quantity.selectedIndex].value" HTML: <label for='Color_field'>Color</label>: <select id="Color" name="Color">\n<option value='Please select an item' selected>Please select an item</option> <option value='Color Both Sides'>Color Both Sides</option> <option value='Color Front No Back'>Color Front No Back</option> <option value='Color Front B&W Back'>Color Front B&W Back</option> </select><br> <label for='Size_field'>Size</label>: <select id="Size" name="Size">\n<option value='Please select an item' selected>Please select an item</option> <option value='2x3.5'>2x3.5</option> <option value='3.35x2.17'>3.35x2.17</option> <option value='Color Front B&W Back'>Color Front B&W Back</option> </select><br> <label for='Quantity_field'>Quantity</label>: <select id="Quantity" name="Quantity" onchange="window.location.href=http://imagews.com/index.php?option=com_virtuemart&page=shop.product_details&flypage=flypage.tpl&product_id=20&Color=+document.addtocart.Color.options[document.addtocart.Color.selectedIndex].value&Size=+document.addtocart.Size.options[document.addtocart.Size.selectedIndex].value&Quantity=+document.addtocart.Quantity.options[document.addtocart.Quantity.selectedIndex].value"> <option value='Please select an item' selected>Please select an item</option> <option value='5000'>5000</option> <option value='100'>100</option> <option value='250'>250</option> <option value='500'>500</option> <option value='1000'>1000</option> <option value='2500'>2500</option> </select><br> HTML: