Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

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

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #42990
    djrolstad
    Participant

    $(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);
    });
    }
    });

    });

    #126149
    djrolstad
    Participant

    IE8 is having trouble running this

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.