<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
&nbsp;
<p>"patricia !" wrote:
<blockquote TYPE=CITE>why do i keep getting other people's email?&nbsp;
i was trying to get a js
<br>dilemma solved, but have apparently put myself on some kind of weird
mailing
<br>list that enables me to get everyone else's mail?.....!</blockquote>
Not "weird", a group. On a mailing list you get the list's mail. Welcome
to the list.
<br>&nbsp;
<blockquote TYPE=CITE>&nbsp;
<p>all i want to know is how to put more than one possible value on a text
<br>field, and depending on the value, the script should go to a corresponding
<br>page.&nbsp; i am trying to build a simulation of a billing program
for an on-line
<br>learning system.
<br>&nbsp;</blockquote>
to get the value from the input you ned the value property of the input
<p><tt>var form = window.document.MyForm;&nbsp; // FORM object</tt>
<br><tt>var txt&nbsp;&nbsp; = form.MyInput.value; // Value of text input</tt>
<p>Then you need to set up your conditions - unless the text value is actually
a filename - which seems unlikely.
<p>e.g. Test for the text containg A or a
<p><tt>if( txt.toUpperCase().indexOf("A")>-1)</tt>
<br><tt>&nbsp; {</tt>
<br><tt>&nbsp; window.location = "page1.htm"; // send browser to page1.htm
- a file in same folder</tt>
<br><tt>&nbsp; }</tt>
<p>Then you can have more conditions and pages
<p>hth
<p>Rodney
<p>BTW the link below is where to go to manage your membership of this
list.
<blockquote TYPE=CITE>Javascript mailing list
<br>Javascript@LaTech.edu
<br><a href="http://www.LaTech.edu/mailman/listinfo/javascript">http://www.LaTech.edu/mailman/listinfo/javascript</a></blockquote>

<p>--
<br>Shop@ssistant Add-ons and Developer Workshops
<br><A HREF="http://www.aflyingstart.net/addons/">http://www.aflyingstart.net/addons/</A>
<p>Enquiries regarding Shop@ssistant Classic training :
<br>Call 01256 880770
<p>Rodney Myers
<br>Based in Oxford, England
<br>Technical Director, Shop@ssistant eCommerce Solutions
<br>&nbsp;</html>