JQuery Form Validator plugin nicht funktioniert

Ich versuche, meine jQuery form validator Arbeit. Ich verbrachte bereits 5 Stunden macht es Arbeit, recherche und so, aber bis jetzt kann ich nicht.

Mein code ist wie folgt:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="style.css" />

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.js" type="text/javascript"></script>
<link rel="stylesheet" href="css/validationEngine.jquery.css" type="text/css"/>
  <script>
        $(document).ready(function(){
            $("#formID").validationEngine();
        });
  </script>

</head>
<body>
    <div id="headerBar" ><h1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Book of Joy!</h1></div>
    <div id="content" align="center">
    <div id="contentText" align="center">Be a part of our team of IT experts. Apply now!</div>
        <div id="leftContent" align=center></div>
        <div id="rightContent" align=left>
        <b>Signup now!</b>
        <hr>

            <form  id="formID" method = "post" action = "AddApplicantServlet"> 
                <fieldset>
                    <legend id="legendid">Applicant Registration Form</legend>
                    <table>
                        <tr><td>First Name:               </td><td><input type = "text" name = fName class="validate[required,custom[onlyLetterSp]]">           </td></tr>
                        <tr><td>Middle Name:              </td><td><input type = "text" name = mName class="validate[required,custom[onlyLetterSp]]">           </td></tr>
                        <tr><td>Last Name:                </td><td><input type = "text" name = lName class="validate[required,custom[onlyLetterSp]]">           </td></tr>
                        <tr><td>Age:                      </td><td><input type = "text" name = age   class="validate[required,custom[onlyNumberSp]],maxSize[2]">  </td></tr>
                        <tr><td>Gender:                   </td><td><select name = gender><option value='m'>Male</option><option value='f'>Female</option> </select>  </td></tr>
                        <tr><td>Email Address:            </td><td><input type = "text" name = email class="validate[required,custom[email]]">        </td></tr>
                        <tr><td>Contact No:               </td><td><input type = "text" name = contactNumber class="validate[required]"></td></tr>
                        <tr><td>City of Residence:        </td><td><input type = "text" name = city   class="validate[required]">         </td></tr>
                        <tr><td>School:                   </td><td><input type = "text" name = school class="validate[required]">       </td></tr>
                        <tr><td>Course:                   </td><td><input type = "text" name = course class="validate[required]">       </td></tr>
                        <tr><td>Year Graduated:           </td><td><input type = "text" name = yearGraduated class="validate[required,custom[onlyNumberSp]],maxSize[4]"></td></tr>
                        <tr><td>Previous Work Experience: </td><td><input type = "text" name = yearWorkExp class="validate[required,custom[onlyNumberSp]],maxSize[2]">  </td></tr>
                        <tr><td>Sourcing Channel:         </td><td><select name = sourceChannel> 
                            <option value='Jobstreet'>Jobstreet</option>
                            <option value='Direct'>Direct</option>
                            <option value='Referral'>Referral</option>
                            <option value='Board Exam'>Board Exam</option>
                            <option value='Oath Taking'>Oath  Taking</option>
                            <option value='GradList'>GradList</option> 
                         </select></td></tr>
                            <tr><td> <input type = "submit" value = SUBMIT></td></tr>
                    </table>
                </fieldset>
            </form>
            <hr>
        </div>
    </div>

Warum es nicht funktioniert und wie kann ich es lösen?

EDIT: ich habe chromebug und es nicht finden können, meine js... Habe ich legen Sie es auf dem richtigen Weg?

Hier sind meine Dateien:

JQuery Form Validator plugin nicht funktioniert

Dies ist mein chromebug und ich weiß nicht was es bedeutet.. :(:

JQuery Form Validator plugin nicht funktioniert

InformationsquelleAutor newbie | 2011-06-05
Schreibe einen Kommentar