Change the script a bit:
function create_url (region) {
...
var url = window.location.protocol + '//' + window.location.hostname + window.location.pathname + "?db=<%db%>&do=search_results&uid=default&dp=1&State=" + type + "&Region=" + region;
...
}
And the link should be:
<a href="create_url('region_name')">
'State' and 'Region' are fields to search for.
In this case, you don't have to put the method and action for form tag.
TheStone.
B.
function create_url (region) {
...
var url = window.location.protocol + '//' + window.location.hostname + window.location.pathname + "?db=<%db%>&do=search_results&uid=default&dp=1&State=" + type + "&Region=" + region;
...
}
And the link should be:
<a href="create_url('region_name')">
'State' and 'Region' are fields to search for.
In this case, you don't have to put the method and action for form tag.
TheStone.
B.