Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [needsupport] What is the URL?

Quote Reply
Re: [needsupport] What is the URL? In reply to
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
Subject Author Views Date
Thread What is the URL? needsupport 3756 Mar 11, 2002, 8:57 PM
Post Re: [needsupport] What is the URL?
Paul 3726 Mar 12, 2002, 2:18 AM
Thread Re: [needsupport] What is the URL?
604 3725 Mar 12, 2002, 9:04 AM
Thread Re: [TheStone] What is the URL?
needsupport 3709 Mar 12, 2002, 2:50 PM
Post Re: TheStone - Can you help?
needsupport 3688 Mar 12, 2002, 3:40 PM
Thread Re: [needsupport] What is the URL?
604 3707 Mar 12, 2002, 3:43 PM
Thread Re: [TheStone] What is the URL?
needsupport 3674 Mar 12, 2002, 4:02 PM
Thread Re: [needsupport] What is the URL?
604 3663 Mar 12, 2002, 4:08 PM
Thread Re: [TheStone] What is the URL?
needsupport 3685 Mar 12, 2002, 4:14 PM
Thread Re: [needsupport] What is the URL?
604 3677 Mar 12, 2002, 4:24 PM
Post Re: [TheStone] What is the URL?
needsupport 3645 Mar 12, 2002, 4:36 PM