Populate jquery modal dialog with MVC partial view async, and show in center of screen

前端 未结 3 2012
傲寒
傲寒 2021-02-02 00:33

I\'m trying to use the jquery modal dialog to show a partial view async when clicking on something. Pretty simple, and there are loads of questions on this, but I can\'t seem to

3条回答
  •  醉酒成梦
    2021-02-02 00:48

    Possible scope issue?

    You're effectively declaring two document.ready functions. Just put all of the code inside:

    $(function () {
    
        });
    

提交回复
热议问题