Click here to Skip to main content
15,906,645 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
hi
I am having an commonscript written in .js file
and i want to include it in the pages.
so that i dont want to write the common javascript in each page just i want to call it in asp.net pages.
It includes scripts such as onblur,onclick events also
Posted

1 solution

on each page put a script tag :

<script type="text/javascript" src="yourscript.js" />


-------------------------
Regards

H.Maadani
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900