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 4178 Mar 11, 2002, 8:57 PM
Post Re: [needsupport] What is the URL?
Paul 4137 Mar 12, 2002, 2:18 AM
Thread Re: [needsupport] What is the URL?
604 4135 Mar 12, 2002, 9:04 AM
Thread Re: [TheStone] What is the URL?
needsupport 4119 Mar 12, 2002, 2:50 PM
Post Re: TheStone - Can you help?
needsupport 4095 Mar 12, 2002, 3:40 PM
Thread Re: [needsupport] What is the URL?
604 4113 Mar 12, 2002, 3:43 PM
Thread Re: [TheStone] What is the URL?
needsupport 4084 Mar 12, 2002, 4:02 PM
Thread Re: [needsupport] What is the URL?
604 4072 Mar 12, 2002, 4:08 PM
Thread Re: [TheStone] What is the URL?
needsupport 4092 Mar 12, 2002, 4:14 PM
Thread Re: [needsupport] What is the URL?
604 4089 Mar 12, 2002, 4:24 PM
Post Re: [TheStone] What is the URL?
needsupport 4054 Mar 12, 2002, 4:36 PM