Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] WHY would a drop down box redirection scirpt
- From: javascript@xxxxxxxxxx (Scott.Wiseman)
- Subject: [Javascript] WHY would a drop down box redirection scirpt
- Date: Tue, 25 Sep 2001 16:28:33 -0700
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C14619.CAE3B272
Content-Type: text/plain;
charset="iso-8859-1"
work on one machine in the same browser
and not work on another
one machine has windows 2k
the other windows nt.
i.e.
code
<head>
<title>Admin Main Menu</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT LANGUAGE="JavaScript">
<!--
function reDirect(thevar)
{
window.location.href = thevar.value;
}
// -->
</SCRIPT>
</head>
<body >
<div align="center">
<center>
<table border="1" width="500">
<tr>
<td width="243">
Administer People in the Office
</td>
<td width="241">Administer the Offices</td>
</tr>
<tr>
<td width="243">
<select name="AdminPeople" onChange="reDirect(this)" size="1">
<option
value="/testing/admin/AdminTransferPeople.asp">TransferPerson</option>
<option
value="/testing/admin/AdminTerminatePeople.asp">TerminatePerson</option>
<option
value="/testing/admin/AdminLOAPeople.asp">LOAPerson</option>
<option
value="/testing/admin/AdminReactivatePeople.asp">ReActivatePerson</option>
<option
value="/testing/admin/AdminEditProfile.asp">ChangeProfileid</option>
<option selected>Select Choice</option>
</select>
</td>
------_=_NextPart_001_01C14619.CAE3B272
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>WHY would a drop down box redirection scirpt</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>work on one machine in the same browser</FONT>
<BR><FONT SIZE=3D2>and not work on another</FONT>
</P>
<P><FONT SIZE=3D2>one machine has windows 2k</FONT>
<BR><FONT SIZE=3D2>the other windows nt.</FONT>
</P>
<P><FONT SIZE=3D2>i.e.</FONT>
</P>
<P><FONT SIZE=3D2>code</FONT>
</P>
<P><FONT SIZE=3D2><head></FONT>
<BR><FONT SIZE=3D2><title>Admin Main Menu</title></FONT>
<BR><FONT SIZE=3D2><meta http-equiv=3D"Content-Type" =
content=3D"text/html; charset=3Diso-8859-1"></FONT>
<BR><FONT SIZE=3D2><SCRIPT =
LANGUAGE=3D"JavaScript"></FONT>
<BR><FONT SIZE=3D2><!--</FONT>
<BR><FONT SIZE=3D2>function reDirect(thevar)</FONT>
<BR><FONT SIZE=3D2> {</FONT>
<BR><FONT SIZE=3D2> window.location.href =
=3D thevar.value;</FONT>
<BR><FONT SIZE=3D2>}</FONT>
<BR><FONT SIZE=3D2>// --></FONT>
<BR><FONT SIZE=3D2></SCRIPT></FONT>
<BR><FONT SIZE=3D2></head></FONT>
</P>
<P><FONT SIZE=3D2><body ></FONT>
</P>
<P><FONT SIZE=3D2><div align=3D"center"></FONT>
<BR><FONT SIZE=3D2> <center></FONT>
<BR><FONT SIZE=3D2> <table border=3D"1" =
width=3D"500"></FONT>
<BR><FONT SIZE=3D2> <tr></FONT>
<BR><FONT SIZE=3D2> <td =
width=3D"243"> </FONT>
<BR><FONT =
SIZE=3D2> =
Administer People in the Office</FONT>
<BR><FONT SIZE=3D2> </td></FONT>
<BR><FONT SIZE=3D2> <td =
width=3D"241">Administer the Offices</td></FONT>
<BR><FONT SIZE=3D2> </tr></FONT>
<BR><FONT SIZE=3D2> <tr></FONT>
<BR><FONT SIZE=3D2> <td =
width=3D"243"> </FONT>
<BR><FONT =
SIZE=3D2> =
<select name=3D"AdminPeople" =
onChange=3D"reDirect(this)" size=3D"1"></FONT>
<BR><FONT =
SIZE=3D2> =
<option =
value=3D"/testing/admin/AdminTransferPeople.asp">TransferPe=
rson</option></FONT>
<BR><FONT =
SIZE=3D2> =
<option =
value=3D"/testing/admin/AdminTerminatePeople.asp">Terminate=
Person</option></FONT>
<BR><FONT =
SIZE=3D2> =
<option =
value=3D"/testing/admin/AdminLOAPeople.asp">LOAPerson</o=
ption></FONT>
<BR><FONT =
SIZE=3D2> &nb=
sp; <option =
value=3D"/testing/admin/AdminReactivatePeople.asp">ReActiva=
tePerson</option></FONT>
<BR><FONT =
SIZE=3D2> &nb=
sp; <option =
value=3D"/testing/admin/AdminEditProfile.asp">ChangeProfile=
id</option></FONT>
<BR><FONT =
SIZE=3D2> =
<option selected>Select Choice</option></FONT>
</P>
<P><FONT =
SIZE=3D2> &nb=
sp; </select></FONT>
<BR><FONT SIZE=3D2> </td></FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C14619.CAE3B272--
- Follow-Ups:
- Prev by Date: [Javascript] Closing pop-up window on form submit
- Next by Date: [Javascript] Closing pop-up window on form submit
- Previous by thread: [Javascript] Re: Hiermenus v4.1 - http://www.dhtmlab.com/
- Next by thread: [Javascript] WHY would a drop down box redirection scirpt
- Index(es):