Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [TheStone] What is the URL?

Quote Reply
Re: [TheStone] What is the URL? In reply to
I am nearly there except for the link. I added the link and when I do a search I get an error with URL:
http://www.mydomain.com/<a%20href="create_url('AccomAny')">

The source code is:

<html>
<head>
<script language='javascript'>
function create_url () {
var obj = document.frmname.rtype;
var type;
for (var i=0; i < obj.length; i++) {
if (obj.checked) type = obj.value;
}

var url = window.location.protocol + '//' + window.location.hostname + window.location.pathname + "?db=<%db%>&do=search_results&uid=default&dp=1&State=" + type + "&Region=" + region;
}
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#0000FF" vlink="#0000FF" alink="#0000FF">
<div id="Layer5" style="position:absolute; width:744px; height:74px; z-index:6; left: 94px; top: 72px">
<form name=myform method=post action="http://www.mydomain.com/cgi-bin/dsql/dp.cgi">
<p>Select State:</p>
<p>.......
<input type=radio name=State value='NSW'>
NSW
<input type=radio name=State value='Victoria'>
VIC
<input type=radio name=State value='Northern Territory'>
NT .... </p>
<p><font size="2"><img src="Mapsa.gif" width="337" height="350" border="0" usemap="#sa"></font>
</p>
</form>

</div>
<map name="sa">
<area shape="rect" coords="2,1,329,189" href="&lt;a href=&quot;create_url('AccomAny')&quot;&gt; ">
</map>
</body>

</html>
Subject Author Views Date
Thread What is the URL? needsupport 3772 Mar 11, 2002, 8:57 PM
Post Re: [needsupport] What is the URL?
Paul 3743 Mar 12, 2002, 2:18 AM
Thread Re: [needsupport] What is the URL?
604 3741 Mar 12, 2002, 9:04 AM
Thread Re: [TheStone] What is the URL?
needsupport 3725 Mar 12, 2002, 2:50 PM
Post Re: TheStone - Can you help?
needsupport 3705 Mar 12, 2002, 3:40 PM
Thread Re: [needsupport] What is the URL?
604 3723 Mar 12, 2002, 3:43 PM
Thread Re: [TheStone] What is the URL?
needsupport 3691 Mar 12, 2002, 4:02 PM
Thread Re: [needsupport] What is the URL?
604 3679 Mar 12, 2002, 4:08 PM
Thread Re: [TheStone] What is the URL?
needsupport 3701 Mar 12, 2002, 4:14 PM
Thread Re: [needsupport] What is the URL?
604 3693 Mar 12, 2002, 4:24 PM
Post Re: [TheStone] What is the URL?
needsupport 3662 Mar 12, 2002, 4:36 PM