Chain Select Menu Enhancement
1) Script Title: Chained Select Menu
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex...menu/index.htm
3) Describe problem: Is it possible to make the each selection open a predefined URL? I have this so far ...
Code:
<form action="detail.php" onchange="loadPage(this.value)">
<select name="query" style="width:100%;"></select>
<select name="query2" style="width:100%;" ></select>
<select name="query3" style="width:100%;" ></select>
<input type="button" value="Reset" onclick="resetListGroup('vehicles')">
<input type="submit" value="Search">
</form>
<script type="text/javascript">
function loadPage(url)
{
location.href = url;
}
</script>
But I have no idea how to go further with it? The kind URL I would like to run each time a user selects would be
Code:
detail.php?query= (first menu choice)
and then
Code:
detail.php?query2= (2nd menu choice)
and so on.
Thanks