final code is here and problem goes on Note: '); after the script is related to PHP code, it cannot cause the problem, it's my problem when I am selecting the text to copy and paster here :D
<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: "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>' On Aug 13, 4:08 pm, WebolizeR <[EMAIL PROTECTED]> wrote: > 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