Form submit funktioniert nicht

Oke hier der komplette:

HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 		"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
  <head>
    <title>
    Intranet
    </title>
    <meta content="" name="description"/>
    <meta content="" name="keywords"/>
    <meta content="no" http-equiv="imagetoolbar"/>
    <link href="/author/docroot/aseintra/css/blue.css" type="text/css" rel="stylesheet"/>
    <link media="print" href="/author/docroot/aseintra/css/bluePrint.css" type="text/css" rel="stylesheet"/>
<script src="/author/docroot/aseintra/js/pdfwindow.js" type="text/javascript"></script>
<script src="/author/docroot/aseintra/js/form.js" type="text/javascript"></script>
<script src="/author/docroot/aseintra/js/search.js" type="text/javascript"></script>
<script src="/author/docroot/aseintra/js/openexcel.js" type="text/javascript"></script>
<script src="/author/docroot/aseintra/js/switcher.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="/author/.resources/admin-css/admin-all.css" />
<script type="text/javascript" src="/author/.magnolia/pages/javascript.js"></script>
<script type="text/javascript" src="/author/.resources/admin-js/dialogs/dialogs.js"></script>
    <link rel="stylesheet" type="text/css" media="all" href="/author/.resources/calendar/skins/aqua/theme.css" title="Aqua" />
<script type="text/javascript" src="/author/.resources/calendar/calendar.js"></script>
<script type="text/javascript" src="/author/.resources/calendar/lang/calendar-en.js"></script>
<script type="text/javascript" src="/author/.resources/calendar/calendar-setup.js"></script>
  </head>
  <body>
    <div class="mgnlMainbarPreview" style="top:4px;left:4px;">
      <span onmousedown="mgnlShiftPushButtonDown(this);" onmouseout="mgnlShiftPushButtonOut(this);" onclick="mgnlShiftPushButtonClick(this);mgnlPreview(false);" class="mgnlControlButton">
        &raquo;
      </span>
    </div>
    <div id="header">
      <table border="0" style="width:100%;" cellspacing="0" cellpadding="0">
        <tr>
          <td>
            <div id="pageTitle">
              Intranet
            </div></td>
          <td>
            <a href="/author">
              <img border="0" id="logo" title="" alt="Home" src="/author/docroot/aseintra/imgs/logo2_180_off.gif"/></a></td>
        </tr>
        <tr>
          <td colspan="3" style="border-right:none;" class="breadcrust">
            <a href="/author/Intranet.html" class="active">Intranet</a></td>
        </tr>
      </table>
    </div>
    <div id="contentMain">
      <div id="leftGroup">
        <div id="columnImage">            
          <div style="clear:both;text-align:left;" class="spacer0">  
            <p>
              <a href="/author/Intranet.html">
                <img class="" style="width: 600px; height: 201px" height="250" alt="" hspace="0" width="600" align="top" border="0" src="/author/Intranet/topLeft1/0/content_files/file/mainpicture.jpg" /></a>
            </p>
          </div>
          <![CDATA[&nbsp;]]>
        </div>
        <div id="columnLeft1">
          <ul class="level1 main">
            <li class="closed">
              <a href="/author/Intranet/Markt.html">Markt </a></li>
            <li class="closed">
              <a href="/author/Intranet/Unsere-Firma.html">Unsere Firma </a></li>
            <li class="leaf">
              <a href="/author/Intranet/Geschaeftsprozesse.html">Gesch&auml;ftsprozesse </a></li>
            <li class="closed">
              <a href="/author/Intranet/Dienste.html">Dienste </a></li>
            <li class="closed">
              <a href="/author/Intranet/Bereiche.html">Bereiche </a></li>
            <li class="closed">
              <a href="/author/Intranet/Anwendungen.html">Anwendungen </a></li>
          </ul>
        </div>
        <div id="columnLeft2">            
          <div style="clear:both;" class="spacer0">  
            <h2>Informationen</h2>
            <div style="border-right: #009cff 1px solid; padding-right: 0px; border-top: #009cff 1px solid; padding-left: 0px; background: #e0f5ff; padding-bottom: 0px; border-left: #009cff 1px solid; width: 216px; padding-top: 0px; border-bottom: #009cff 1px solid"><br />
              <ul>
                <li>
                <a href="#">
                  <strong>Infoflash</strong></a></li>
                <li>
                <a target="_blank" href="#">
                  <strong>Monatliche News</strong></a>
                &nbsp;</li>
              </ul>
            </div>
              <strong>Intranet Passwort<br /></strong>
          </div>
          <![CDATA[&nbsp;]]>
        </div>
        <div id="columnLeft3">            
          <div style="clear:both;" class="spacer0">  
            <h2>Quicklinks</h2>
            <ul>
              <li>
              <a href="#">Intranet Suche</a></li>
              <li>
              <a href="#">Aktueller Menuplan</a></li>
              <li>
              <a href="#">IT-Workflow</a></li>
            </ul>
          </div>
          <![CDATA[&nbsp;]]>
        </div>
      </div>
      <div id="rightGroup">
        <div style="border-left:none;" id="searchForm">
          <div id="searchBoxMain">
            <form action="javascript:submitSearchForm(document.getElementById('searchForm'), 'radio');" name="searchForm" id="searchForm" method="post">
              <table cellpadding="0" cellspacing="0">
                <tr>
                  <td>
                    <label for="query">
                      Such
                      <u>e</u>
                      n: 
                    </label></td>
                  <td>
                    <input accesskey="e" value="" name="query" id="query" size="27"/></td>
                  <td>
                    <input value="Los" name="search" type="submit"/></td>
                </tr>
                <tr>
                  <td/>
                  <td colspan="2">
                    <input value="site" id="repository" name="repository" type="radio"/> Intranet
                    <input checked="checked" value="phonebook" id="repository" name="repository" type="radio"/> Telefon</td>
                </tr>
              </table>
            </form>
          </div>
        </div>             
        <div style="clear:both;" class="spacer0">
          <a name="columnParagraphs1"></a>  
          <div class="news">
            <div class="newsTitle">
              Technische Probleme mit dem Intranet
            </div>
            <div class="newsTimestamp">
              Bern - 24. Juli 2007, 10:06
            </div>
            <div class="newsText">
            </div>
            <div class="newsLink">
            </div>
          </div>
        </div>             
        <div style="clear:both;" class="spacer0">
          <a name="columnParagraphs2"></a>  
          <div class="news">
            <div class="newsTitle">
              Intranet überarbeitet
            </div>
            <div class="newsTimestamp">
              Bern - 17. Juli 2007, 9:51
            </div>
            <div class="newsText">
            </div>
            <div class="newsLink">
            </div>
          </div>
        </div>
        <![CDATA[&nbsp;]]>
      </div>
    </div>
    <div id="footer">
      <a class="external" target="asehomepage" href="#"></a>
      | 
      <a href="/author/sitemap">Sitemap</a> |
      <a href="javascript:switchInstance();">Public</a>
    </div>
  </body>
</html>
 
Hi,

das Problem ist, dass du auch die ID searchForm zweimal vergeben hast:
Code:
<div style="border-left:none;" id="searchForm">
Damit ist die ID nicht mehr eindeutig und der Browser entscheidet sich für das erste Element, dass dadurch identifiziert wird. In deinem Fall also das DIV und nicht das Formular.

Wenn du die IDs entsprechend anpasst, sollte es funktionieren.

Ciao
Quaese
 
OMG vielen Dank es funktioniert

Diese id habe ich dem DIV vor langer Zeit mal für die Style Definitionen vergeben und total vergessen(ich habe sie schlussendlich nichtmal benutzt).
Irgendwie sinds immer die dümsten Fehler die am meisten Zeit rauben :rolleyes:

Viele Grüsse

hurahorre
 
Zurück