<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1264" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=437221014-05112003><FONT face=Arial color=#0000ff size=2>Be 
sure to properly delimit the ASP code with &lt;% = id %&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=437221014-05112003><FONT face=Arial color=#0000ff 
size=2>because the way you have written it will definately fail on the 
server.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
  javascript-bounces@LaTech.edu [mailto:javascript-bounces@LaTech.edu] <B>On 
  Behalf Of </B>Wilding, Marcus (M.)<BR><B>Sent:</B> Wednesday, November 05, 
  2003 3:06 AM<BR><B>To:</B> 'javascript@LaTech.edu'<BR><B>Subject:</B> 
  [Javascript] Java quesiton<BR><BR></FONT></DIV>
  <P><FONT face=Arial size=2>Hi,</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=Arial size=2>I have 
  managed to use a text box to generate a dynamic web link using information 
  from this forum and others. The code I have used is shown below...</FONT></P>
  <P><I><FONT face=Arial color=#0000ff size=2>&lt;form name="form1" action 
  ="link.asp" &gt;</FONT></I> <BR><I><FONT face=Arial color=#0000ff 
  size=2>&lt;input type=text name="url1"&gt;</FONT></I> </P>
  <P><I><FONT face=Arial color=#0000ff size=2>&lt;a 
  onclick="window.location=('<A 
  href="http://har03000/'+document.form1.url1.value" 
  target=_blank>http://har03000/'+document.form1.url1.value</A>)"&gt;link&lt;/a&gt;</FONT></I> 
  <BR><I><FONT face=Arial color=#0000ff size=2>&nbsp;</FONT></I> <BR><I><FONT 
  face=Arial color=#0000ff size=2>&nbsp;&lt;hr&gt;</FONT></I> <BR><I><FONT 
  face=Arial color=#0000ff size=2>&nbsp;</FONT></I> <BR><I><FONT face=Arial 
  color=#0000ff size=2>&nbsp; &lt;form name="form2" action ="link.asp" 
  &gt;</FONT></I> <BR><I><FONT face=Arial color=#0000ff size=2>&lt;input 
  type=text name="url2"&gt;</FONT></I> </P>
  <P><I><FONT face=Arial color=#0000ff size=2>&lt;a 
  onclick="window.location=('<A 
  href="http://har03000/'+document.form1.url2.value" 
  target=_blank>http://har03000/'+document.form1.url2.value</A>)"&gt;link&lt;/a&gt;</FONT></I> 
  </P><BR>
  <P><I><FONT face=Arial color=#0000ff size=2>&lt;/form&gt;</FONT></I> </P>
  <P><FONT face=Arial size=2>This is for two dynamic boxes and links. The 
  problem is I want to use asp variables as part of the url in the link. This 
  means that if I read through a database with asp and generated a table, each 
  row would have the text box and link at the end of it but each link would 
  contain unique information from each record.</FONT></P>
  <P><FONT face=Arial size=2>Something like this..</FONT> </P><BR>
  <P><I><FONT face=Arial color=#0000ff size=2>&nbsp; &lt;form name=&lt;%=id&gt; 
  action ="link.asp" &gt;</FONT></I> <BR><I><FONT face=Arial color=#0000ff 
  size=2>&lt;input type=text name=&lt;%=id&gt;&gt;</FONT></I> </P>
  <P><I><FONT face=Arial color=#0000ff size=2>&lt;a 
  onclick="window.location=('<A href="http://har03000/'+document.form1" 
  target=_blank>http://har03000/'+document.form1</A>.&lt;%=id&gt;.value)"&gt;link&lt;/a&gt;</FONT></I> 
  </P>
  <P><I><FONT face=Arial color=#0000ff size=2>&lt;/form&gt;</FONT></I> </P>
  <P><FONT face=Arial size=2>Is it possible?</FONT> </P><BR>
  <P><FONT face=Arial size=2>Regards,</FONT> <BR><FONT face=Arial size=2>Marcus 
  Wilding</FONT> <BR><FONT face=Arial size=2>Systems Analyst</FONT> <BR><FONT 
  face=Arial size=2>Systems Department </FONT><BR><FONT face=Arial 
  size=2>54/300</FONT> <BR><FONT face=Arial size=2>Halewood Transmission 
  Plant</FONT> <BR><FONT face=Arial size=2>Getrag Ford GmbH</FONT> <BR><FONT 
  face=Arial size=2>Liverpool </FONT><BR><FONT face=Arial size=2>L24 9LE 
  </FONT></P>
  <P><FONT face=Arial size=2>Phone +44 (0)151 485 5580&nbsp; (8 716 5580) 
  </FONT><BR><FONT face=Arial size=2>Fax&nbsp;&nbsp; +44 (0)151 485 5589&nbsp; 
  (8 716 5589)</FONT> </P></BLOCKQUOTE></BODY></HTML>