How to include Javascript file in Asp.Net page

前端 未结 6 1218
一向
一向 2021-01-01 11:22

I want to do some client side validation using javascript in ASP.NET page.

I tried using

6条回答
  •  渐次进展
    2021-01-01 11:37

    If your page is deeply pathed or might move around and your JS script is at "~/JS/Registration.js" of your web folder, you can try the following:

    
    

提交回复
热议问题