• I want to save my form data via jquery but i can’t able to access it in my script.Can anyone help me. URL access in script: url: ‘admin.php?page=insert.php’,

    My script

    $(function () {
    $(‘form’).on(‘submit’, function (e) {
    e.preventDefault();
    var schema_key = $(“#schema_key”).val();
    $.ajax({
    type: ‘post’,
    url: ‘admin.php?page=insert.php’,
    data: schema_key,
    success: function () {
    alert(‘form was submitted’);
    }
    });

    });

    });

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to get my insert.php url in jquery?’ is closed to new replies.