asp.net mvc4 jquery not working

前端 未结 3 1423
无人共我
无人共我 2021-02-18 20:55

I\'m trying to run a jquery code which was put in my _Layout.cshtml as below:

...............


        
3条回答
  •  广开言路
    2021-02-18 21:40

    Andreas, i have the same issue.. for default the "_layout.cshtml" has "@Scripts.Render("~/bundles/jquery")" at the end of the document, but it doesn't work.. i cut it and paste it in the head and now it is working.

提交回复
热议问题