jquery validation javascript

$(document).ready(
function(){
    $("#form1").validate(
    {
        rules:
        {
            email:
            { // compound rule
                required: true,
                email: true
            },
            password: "required",
            verify: {
                equalTo: "#password"
            }       
        }
    });
});

can someone pls tell me where on this script i have an error. IE8+IE7 says i have an error. it is driving me bananas:-)

Answers


you best bet is to install google chrome web browser, navigate to the webpage and press CTRL+SHIFT+J to open up the JavaScript console: Will look lie so:


Need Your Help

php notices of Undefined Variable & Trying to get property of non-object

php joomla joomla2.5

Am learning & executing php by working on Joomla project

How do I handle child lists and get new object lists in C# using LINQ?

c# .net linq object custom-lists

I have a LINQ query which gives me a list with a number of child lists all with double values.