[Javascript] WHY would a drop down box redirection scirpt

Scott.Wiseman swiseman at remax-cahi.com
Tue Sep 25 18:28:33 CDT 2001


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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010925/4d287f98/attachment.htm>


More information about the Javascript mailing list