How to capture submit event using jQuery in an ASP.NET application?

前端 未结 8 2071
既然无缘
既然无缘 2020-12-01 03:11

I\'m trying to handle the submit event of a form element using jQuery.

    $(\"form\").bind(\"submit\", function() {
        alert         


        
8条回答
  •  半阙折子戏
    2020-12-01 03:46

     $(document).ready(function () {
    
              $(this).live("submit", function () {
    
                    console.log("submitted");
                 }
    }
    

提交回复
热议问题