<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR></HEAD>
<BODY 
style="FONT: 10pt MS Sans Serif; MARGIN-LEFT: 2px; MARGIN-TOP: 2px"><BR><BR>&gt;&gt;&gt; 
ben@babelfish.co.uk 5/14/01 8:02:08 AM &gt;&gt;&gt; <BR>You need to tell the 
form which page it is submitting the data too. <BR><BR>&lt;form name="myform" 
method="Get" action="thispage.asp"&gt; <BR><BR>You can pass data from page to 
page using your method (by building up the <BR>querystring yourself) but in this 
case there is no need. <BR><BR>hope this helps. <BR><BR>.b <BR><BR>----- 
Original Message ----- <BR>From: "Varsou Nilsa" &lt;<U> <A 
href="mailto:nvarsou@infoserve.gr">nvarsou@infoserve.gr</A>&gt; <BR>To: &lt;<U> 
<A href="mailto:javascript@LaTech.edu">javascript@LaTech.edu</A>&gt; <BR>Sent: 
Monday, May 14, 2001 3:10 PM <BR>Subject: [Javascript] passing values in a link 
<BR><BR><BR>Hi everyone, I need some help, I am trying to pass a key value in a 
href <BR>link, I have done this before and I just don't get why is not working, 
<BR>the truth is I am a begginer in jscript, bellow I have my code, when I 
<BR>click the "take me there" link to de <A 
href="http://default.htm">default.htm</A> page I want to pass a <BR>key with the 
value of the <A href="http://T1.field">T1.field</A> on it, instead of this the 
link take <BR>me to the default page with a null key something like <A 
href="http://default.htm?key=,">default.htm?key=, </A><BR>yet when I put a 
default value to the key (something like <BR><A href="http://href=" 
default.htm?key="">href="default.htm?key="</A> + 4) the result is still the 
same, what am I <BR>doing rong? <BR>TIA <BR><BR>&lt;form name="myform" 
method="Get"&gt; <BR>&lt;p&gt;&lt;input type="text" name="T1" size="20"&gt; 
<BR>&lt;p&gt;&lt;input type="text" name="T2" size="20"&gt; <BR>&lt;p&gt; 
<BR>&lt;input type="radio" name="showView" id=showView value="0"&gt;&lt;label 
<BR>for="showAll" id="label1"&gt; <BR>Show all &lt;/label&gt; <BR>&lt;/p&gt; 
<BR>&lt;p&gt; <BR>&lt;input type="radio" name="showView" id=showView value="1" 
<BR>checked&gt;&lt;label for="showFiltered " id="label2"&gt; <BR>Filter 
&lt;/label&gt; <BR>&lt;/p&gt; <BR>&lt;/form&gt; <BR>&lt;script 
language="javascript"&gt; <BR>function validate(){ <BR><A 
href="http://if(document.myform.showView(0).checked)">if(document.myform.showView(0).checked)</A>{ 
<BR><A href="http://document.myform.T1.value">document.myform.T1.value</A> == 
""; <BR><A href="http://document.myform.T2.value">document.myform.T2.value</A> 
== ""; <BR>} <BR><BR><A 
href="http://if(document.myform.showView(1).checked)">if(document.myform.showView(1).checked)</A>{ 
<BR><A href="http://if(document.myform.T1.value">if(document.myform.T1.value</A> 
== "" &amp;&amp; <BR><A 
href="http://document.myform.T2.value">document.myform.T2.value</A> == ""){ 
<BR>alert("Sorry, you must fill at least one of the <BR><A href="http://fields." 
? );><BR>return false; <BR>} <BR><A 
href="http://document.myform.submit();">document.myform.submit(); </A><BR>} 
<BR>} <BR><BR>&lt;/script&gt; <BR><BR>&lt;p&gt;&lt;a <A href="http://href=" 
default.htm?key="">href="default.htm?key="</A> + <A 
href="http://document.myform.T1.value">document.myform.T1.value</A> 
onClick="return <BR>validate()"&gt;take me there&lt;/a&gt;&lt;/p&gt; 
<BR><BR><BR><BR><BR><BR><BR>Nilza Da Silva Varsou <BR>Web Developer 
<BR><BR>INFOSERVE SA <BR>145 Vizantiou <A href="http://str.">str. </A><BR>GR 142 
35, Kalogreza <BR>Athens, Greece <BR><A href="http://Tel. ">Tel. 
</A>+30-1-2595300 <BR>Fax +30-1-2595301 <BR>------------------------------- 
<BR><U><A href="http://www.infoactivity.com">www.infoactivity.com</A> <BR>eCRM 
application <BR>------------------------------- 
<BR><BR><BR>_______________________________________________ <BR>Javascript 
mailing list <BR><U><A 
href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</A> <BR><U><A 
href="http://www.LaTech.edu/mailman/listinfo/javascript">http://www.LaTech.edu/mailman/listinfo/javascript</A> 
<BR><BR><BR><BR>_______________________________________________ <BR>Javascript 
mailing list <BR><U><A 
href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</A> <BR><U><A 
href="http://www.LaTech.edu/mailman/listinfo/javascript">http://www.LaTech.edu/mailman/listinfo/javascript</A> 
<BR></U></U></U></U></U></U></U></BODY></HTML>