I had a similar problem with the validate plugin. Using the non-packed
version worked. Try that and see if the problem persists.


-----Original Message-----
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of howard chen
Sent: Friday, June 01, 2007 10:57 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Validation plugin can't work with IE7?



The following script work with FF 2.0.0.3, but not IE7, all scripts are
latest version from correspoinging web sites

=================
<html>
<head>
        <script src="jquery-latest.pack.js"></script>
        <script src="jquery.validate.pack.js"></script>
</head>

<body>

<script type="text/javascript">
        $.validator.setDefaults({
                debug: true
        });

                $().ready(function() {
                                // validate signup form on keyup and
submit
                $("#form1").validate({
                        event: "keyup",
                        rules: {
                                textfield: "required"

                        },
                        messages: {
                                textfield: "Please enter your firstname"
                        }
                });
        });
</script>

<form id="form1" name="form1" method="post" action="">
    <input type="text" id="textfield" name="textfield" />
    <input type="submit" name="Submit" value="Submit" /> </form> </body>
</html> =================

error in IE show: $.validatior is null or not an object

while the same page work great with FF2.0

any comments and helps? thanks a lot!

howa

Reply via email to