Grow your CSS skills. Land your dream job.

Contact JS Help!! Line error 20 character 3? What’s wrong with it?

  • # February 26, 2013 at 11:21 am

    $(document).ready(function(){

    $(‘#contactme’).validate({
    debug: false,
    rules: {

    fname: { required: true, minlength:2 },

    lname: { required: true, minlength:2 },

    email: { required: true },

    address: { required: true, minlength:2 },

    city: { required: true, minlength:2 },

    subject: { required: true, minlength:2 },

    message: { required: true, minlength:2 },
    },

    submitHandler: function(form) {
    // do other stuff for a valid form

    $.post(‘process.php’, $(‘#contactme’).serialize(), function(data) {
    $(‘#results’).html(data);
    });
    }
    });

    });

    # February 26, 2013 at 11:22 am

    IE8 is having trouble running this

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".