Submitting HTML form using Jquery AJAX

前端 未结 3 1542
闹比i
闹比i 2020-11-22 03:56

Im trying to submit a HTML form using AJAX using this example.

My HTML code:

3条回答
  •  自闭症患者
    2020-11-22 04:53

    If you add:

    jquery.form.min.js

    You can simply do this:

    
    

    NOTE:

    You could use simple $('FORM').serialize() as suggested in post above, but that will not work for FILE INPUTS... ajaxForm() will.

提交回复
热议问题