Home : Products : DBMan SQL : Discussion :

Products: DBMan SQL: Discussion: Re: [needsupport] What is the URL?: Edit Log

Here is the list of edits for this post
Re: [needsupport] What is the URL?
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.

Last edited by:

TheStone: Mar 12, 2002, 4:37 PM

Edit Log: