Does the novice ask the question that ajaxsubmit can't jump to the web page?

$(document).ready(function () {
    var options= {
        url: "/deleteRecord/"
        // success: function (data) {
        //     $("-sharprecord").html(data);
        // }
        // target:"-sharprecord"
    };
    $("-sharprecord_form").submit(
        function () {
            $("form").ajaxSubmit(options);
            alert("aaa");
            // return false;
            // alert("aaa")
        }
    );
 }

when I click

    <button type="submit">
        
    </button>
When

, I don"t jump to / deleteRecord/, and I don"t execute alert,. When I delete $("form") .ajaxSubmit (options);, I execute alert. Why can"t you jump to a web page?

Mar.16,2021
Menu