create a
.js file
in your project and add reference to it in the page header where you want to use any of the function from this file.
like this.
<head>
<script src="../../Project/javascripts/Common.js" type="text/javascript"></script>
</head>
Further to create a
.js file
, go to Add new Item option from project hierarchy
(Right Click on Project Name in solution Explorer) and select
JScript File
option.
Hope it will help. :)