I got it and changed the JS code like below, but it still fails in IE,
it submits the form without any validation
<script language="JavaScript">
<!--
$().ready(function() {
// validate the form when it is submitted
$("#formApp").validate({
messages: {
order_name: "Please enter your firstname and surname"
order_email: {
required: "Please enter your email"
},
order_phone: {
required: "Enter your phone number with area
code",
minLength: "Check your phone number",
number: "Please enter only numbers"
}
}
});
});
//-->
</script>' );
tHanks...
On Aug 13, 3:48 pm, SeViR <[EMAIL PROTECTED]> wrote:
> WebolizeR escribió:
>
> > On Aug 13, 2:55 pm, SeViR <[EMAIL PROTECTED]> wrote:
>
> > if IE cannot handle object properties how can we configure that, is
> > there another method to configure the plugin which I donot know?
>
> > tHanks
>
> Simply check if you have a final comma in the list of values.
>
> CORRECT IN ALL BROWSER:
> object={
> property1: "value1",
> property2: "value2" // <- I not have a final comma}
>
> CORRECT IN BROWSER NOT IE:
> object={
> property1: "value1",
> property2: "value2", // <- THIS COMMA GENERATES A FAIL IN IE JS
> ENGINE
>
> }
>
> --
> Best Regards,
> José Francisco Rives Lirola <sevir1ATgmail.com>
>
> SeViR CW · Computer Design
> http://www.sevir.org
>
> Murcia - Spain