Proper way to use JQuery when using MasterPages in ASP.NET?

前端 未结 4 1106
日久生厌
日久生厌 2020-11-30 00:46

I have no issues when doing using JQuery in a aspx page without a masterpage, but when I try to use it in pages that have a masterpage, it doesn\'t work, so I end up putting

4条回答
  •  生来不讨喜
    2020-11-30 01:21

    Alright use a different contentplaceholder for your script. It should look like this

    
    
                                     
                  
提交回复
热议问题