How to include Javascript file in Asp.Net page

前端 未结 6 1238
一向
一向 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:47

    ScriptManager control can also be used to reference javascript files. One catch is that the ScriptManager control needs to be place inside the form tag. I myself prefer ScriptManager control and generally place it just above the closing form tag.

    
        
            
        
    
    

提交回复
热议问题