BLJ: Funktion: Fehler "Object expected"?

Beitrag lesen

-> da hab ich zuvor auch schon beides ausprobiert.

ich mach jetzt den gesamten Quellcode hier rein, denn der Content ist Intranet & ich hab gerade keinen I-Net space "auf abruf"
thx 4 help
cu

das ist allerdings nur, was der Inet Explorer bekommt, und ohne asp codes!
------------------------------------------------------------------

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
   <title>Mac-Adressdatenbank: Suche</title>
  <link rel="stylesheet" media="all" type="text/css" href="../inc/style.css">
  <link rel="stylesheet" media="print" type="text/css" href="../inc/print.css">
</head>

<body text="#000000" bgcolor="#ffffff" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
 <table id="maintable" border="0" cellpadding="0" cellspacing="0" width="731">
  <tr>
   <td height="15"><img src="../img/s.gif" width="1" height="15" alt=""> </td>
   <td colspan="4" style="text-align:right;" align="right">
    <a class="small" href="..">Home</a>  
    <a class="small" href="../sitemap.asp">Site Map</a>  
   </td>
   <td rowspan="11"><img src="../img/s.gif" width="10" height="1" alt=""></td>
   <td rowspan="11" valign="top">
    <a href="http://www.schindler.com"><img src="../img/entree_01.gif" width="25" height="247" border="0" alt="Schindler"></a>
   </td>
  </tr>
  <tr>
   <td height="34"><img src="../img/s.gif" width="1" height="34" alt=""> </td>
   <td colspan="4"><a class="title" href="/lewe">MAC-Adressdatenbank</a></td>
  </tr>
  <tr>
   <td height="18" colspan="5" align="right"><img src="../img/subtitle.gif" width="212" height="18" alt="The Elevator and Escalator Company"></td>
  </tr>
  <tr>
   <td height="110" colspan="4" rowspan="2">
    <img src="../img/topnav.jpg" width="685" height="110" align="top" alt="Logo">
   </td>
   <td height="10"><img src="../img/s.gif" width="1" height="10" alt=""></td>
  </tr>
  <tr>
   <td height="100" class="navigation"><img src="../img/s.gif" width="1" height="100" alt=""></td>
  </tr>
  <tr>
   <td align="right" valign="bottom" height="24"><img src="../img/s.gif" width="1" height="24" alt=""></td>
   <td class="navigation"> </td>
   <td colspan="2" class="navigation" style="padding-left:10px;">
    Mac-Adressen Suche
   </td>
   <td class="navigation"> </td>
  </tr>
  <tr height="20">
   <td rowspan="2" colspan="2"> </td>
   <td height="20" colspan="2"><img src="../img/s.gif" width="1" height="20" alt=""> </td>
   <td rowspan="3"><img src="../img/s.gif" width="1" height="150" border="1"></td>
  </tr>
  <tr>
   <td colspan="2" valign="top">

<script type="javascript">
<!-- 
function makevis() {
   switch (xStatus) {
  case "X":
   document.getElementByID("aX").style.display="block";
   document.getElementByID("aSTRING").style.display="none";
   break;
  case "NUMB":
   document.getElementByID("aX").style.display="none";
   document.getElementByID("aSTRING").style.display="block";
   break;
  case "PRODUCT":
   document.getElementByID("aX").style.display="none";
   document.getElementByID("aSTRING").style.display="block";
   break;
  case "SN":
   document.getElementByID("aX").style.display="none";
   document.getElementByID("aSTRING").style.display="block";
   break;
  case "NIX":
   break;
  default:
   alert("Fehler im Formular!!!");
   break; }
}

//-->
</script>

<form method="POST" name="Auswahl" action="./BB_asplib.asp">
 <select size="1" id="stspalte" onChange="makevis(this.value)">
  <option value="NIX"></option>
     <option value="X">Adressanfang/Ende</option>
     <option value="NUMB">Adresslänge</option>
     <option value="PRODUCT">Produkt</option>
     <option value="SN">Seriennummer</option>
 </select>
<div id="aX" style="display:none">
<p>aXaXaXaXaXaXaX</p>
</div>
<div id="aSTRING" style="display:none">
<p>aSTRINGaSTRING</p>
</div>
</form>
   </td>
  </tr>
  <tr>
   <td height="30" colspan="4"><img src="../img/s.gif" width="1" height="30" alt=""> </td>
  </tr>
  <tr>
   <td colspan="5" class="footer">©  2002 Schindler Corporate R&D
   </td>
  </tr>
  <tr>
   <td width="160"><img src="../img/s.gif" width="160" height="1" alt=""></td>
   <td width="20"><img src="../img/s.gif" width="20" height="1" alt=""></td>
   <td width="300"><img src="../img/s.gif" width="300" height="1" alt=""></td>
   <td width="180"><img src="../img/s.gif" width="180" height="1" alt=""></td>
   <td width="12"><img src="../img/s.gif" width="12" height="1" alt=""></td>
  </tr>
 </table>
</body>

</html>