I want to do some client side validation using javascript in ASP.NET page.
I tried using
I assume that you are using MasterPage so within your master page you should have
And within any of your pages based on that MasterPage add this