AjaxOptions.confirm does not pop up in ActionLink or BeginForm Submit

后端 未结 1 1665
青春惊慌失措
青春惊慌失措 2021-01-24 06:26

New to this, so bear with me if I missed this somewhere in another answer. I tried using AjaxOptions in Ajax.BeginForm and it did not pop up, so I switched to testing it in an

相关标签:
1条回答
  • 2021-01-24 07:11

    Be sure the script tag is actually pointing to the correct script. You may need to specify a relative path.

     <script src="../Scripts/jquery.unobtrusive-ajax.min.js" type="text/javascript" ></script>
    

    Firebug is helpful for discovering if this is the issue.

    0 讨论(0)
提交回复
热议问题