You need to include the jQuery file in head section for executing the code.
How to include jQuery in ASP.Net project?
You can include the script file directly in your page/master page, etc using:
Us use a Content Delivery network like Google or Microsoft:
<script src="<a href="http: