Javascript - 按钮无法加载提交功能

时间:2013-12-03 02:53:20

标签: javascript html

我创建了一个非常简单的登录系统,但提交按钮似乎没有加载php页面。我已经尝试使用提交加载功能等,他们工作正常。我复制并粘贴了函数名称以确保它是正确的。我知道为什么它似乎不起作用,任何回复将不胜感激。谢谢。

HTML

<body>
  <div id="MainDiv">
    <div id="Header">
      <div id="Logo">
        <img src="../Scotia Sea Life Logo.png" width="150px" height="110px" 
             alt="Company Logo"/>
      </div>
      <div id="NavBar">
        <ul>
          <a href="../Homepage.html" style="text-decoration:none;">Home</a>
          <a href="../Tours/Tours.html">Tours</a>
          <a href="AdditionPageMain.php">About</a>
          <a href="SubtractionPageMain.php">Donate</a>
          <a href="Devisionmain.php">Account</a>
        </ul>
      </div>
      <div id="Title">Register</div>
      <div id="Content">
        <div id="RegisterDetails">
          <form id="RegisterForm" name="RegisterForm" method="POST" 
                action="RegisterInsert.php">
            <table border="0" align="center" width="100%">
              <tr>
                <td width="15%">Email Address:</td>
                <td width="85%">
                  <input type="text" name="txt_Email" id="txt_Email" 
                         onblur="Register()"/>
                </td>
              </tr>
              <tr>
                <td width="15%">Username:</td>
                <td width="85%">
                  <input type="text" autocomplete="off" name="user_name" 
                         id="user_name" class="user_name" onblur="Register()" />
                  <span class="check" id="spanCheck"></span>
                </td>
              </tr>
              <tr>
                <td width="15%">Password:</td>
                <td width="85%">
                  <input type="password" name="txt_Password" id="txt_Password"
                         onblur="Register()"/>
                  Min Password Length 6 char
                </td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td>
                  <input type="submit" name="btn_Register" id="btn_Register" 
                         value="Register" />
                </td>
              </tr>
            </table>
            <p>&nbsp;</p>
          </form>
        </div>
      </div>
      <div id="Footer">
        <div id="FooterLinks"></div>
      </div>
    </div>
  </div>
  <!-- I have placed js at bottom in order to make page load faster -->
  <script type="text/javascript" 
          src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js"></script>
  <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
  <script src="jquery.validate.js"></script>
  <script src="UsernameValidation.php"></script>
  <script src="http://jquery.bassistance.de/validate/additional-methods.js"></script>
  <script src="EmailValidation.php"></script>
  <script type="text/javascript">
  </script>
</body>

0 个答案:

没有答案