Asp.NET MVC AjaxOptions OnSuccess fires.. too early?

后端 未结 5 1646
情话喂你
情话喂你 2020-12-09 12:27

I\'d like to use the OnSuccess option of AjaxOptions passed as Ajax.BeginForm argument to \"do something\" once the response is completely received and DOM updated. As far a

5条回答
  •  我在风中等你
    2020-12-09 12:42

    OnSuccess is a property which takes the name of the function or the function as in the above case (not any statment). And AjaxOptions callsback the method for which name is provided, after success, failure, ... Hope this helps

提交回复
热议问题