MVC4 jQuery UI does not work

后端 未结 4 556
刺人心
刺人心 2020-12-18 13:26

I cannot get jQuery UI working in my ASP.NET MVC4 application. I tried dialog and datepicker. Here is part of the code of my view.



        
4条回答
  •  余生分开走
    2020-12-18 13:39

    In the layout.cshtml view, move

    @Scripts.Render("~/bundles/jquery") 
    

    from body to head and add in head too

    @Scripts.Render("~/bundles/jqueryui")
    

提交回复
热议问题