Include JavaScript file in partial views

后端 未结 9 1507
别跟我提以往
别跟我提以往 2020-12-02 06:13

I am wondering what the best practice is for including javascript files inside partial views. Once rendered this will end up as a js include tag in the middle of my page\'s

9条回答
  •  抹茶落季
    2020-12-02 06:36

    hejdig.

    Playing around with Aspnetmvc3 I decided, for now, to just include my javascript file in the partial

    This js file is then specific for my /user/List.schtml file.

    /OF

提交回复
热议问题