Hi everyone
I'm new to asp and have developed code to create the code for a user to cut and paste for use in their web site to link to a specific map in our web application. The user must select their municipality from a drop down list, then their street from a list that is automatically generated based upon their municipality selection. Upon entering their street number they submit the form. The response then shows them the anchor code which they can cut and paste into their own site. Everything works great in IE, but in Netscape the anchor code flashes and then disappears. If you reload the page the anchor code appears and stays. If I look at the source code in NS, the line which I want to appear on the page is there, but as a regular link. Hope I haven't confused anyone. Anyhow here is the code I have used:
<P><STRONG><a HREF=" <%dim strTwo
strTwo=strTwo & Request.Form(1) & "%20"
strTwo=strTwo & Request.Form(2) & ",%20"
strTwo=strTwo & Request.Form(3)
Response.Write(strTwo) %>
"> </a>
</strong></P><BR>
What I want is for the user to get a page showing:
Copy the line of code below (Drag the mouse over the line of code to select it, then right click themouse and select "Copy", and paste it in the desired position within your document (Right click the mouse and select 'Paste').
<a HREF=" 677%20BIRCH_STREET,%20Collingwood "> </a>
In this example 677 is Form(1); Birch_street is Form(2) and Collingwood is Form(3)
As I said it works great in IE, but not in NS (unless you reload the page). Any suggestions greatly appreciated.
I'm new to asp and have developed code to create the code for a user to cut and paste for use in their web site to link to a specific map in our web application. The user must select their municipality from a drop down list, then their street from a list that is automatically generated based upon their municipality selection. Upon entering their street number they submit the form. The response then shows them the anchor code which they can cut and paste into their own site. Everything works great in IE, but in Netscape the anchor code flashes and then disappears. If you reload the page the anchor code appears and stays. If I look at the source code in NS, the line which I want to appear on the page is there, but as a regular link. Hope I haven't confused anyone. Anyhow here is the code I have used:
<P><STRONG><a HREF=" <%dim strTwo
strTwo=strTwo & Request.Form(1) & "%20"
strTwo=strTwo & Request.Form(2) & ",%20"
strTwo=strTwo & Request.Form(3)
Response.Write(strTwo) %>
"> </a>
</strong></P><BR>
What I want is for the user to get a page showing:
Copy the line of code below (Drag the mouse over the line of code to select it, then right click themouse and select "Copy", and paste it in the desired position within your document (Right click the mouse and select 'Paste').
<a HREF=" 677%20BIRCH_STREET,%20Collingwood "> </a>
In this example 677 is Form(1); Birch_street is Form(2) and Collingwood is Form(3)
As I said it works great in IE, but not in NS (unless you reload the page). Any suggestions greatly appreciated.