Form submission in MVC using Ajax. Can't prevent default form submission
<p>I'm trying to submit a form using Ajax in ASP.NET, everything works fine but I can't prevent default form submission using e.preventdefault() method.</p>

<p>This is my jquery ajax submission code :</p>

<pre><code> $('#submitBtn').on('click', function () {
    $('#addNewContact').submit(function (e) {

        e.preventDefault();

        $.ajax({
            type: "POST",
            url: $(this).attr('action'),
            data: $(this).serialize(),
            dataType: 'json',
            success: function (message) {
                console.log(message);
            },
            error: function (message) {
                console.log(message);
            }

        })


    })
})
</code></pre>