I am new to asp.net. I have a question, How do I make javascript file work on any page that inherit from the master page? Because i put <link type="text/javascript" href="scripts/JScript.js" /> in the masterpage and it didn't seem to work?
Here is the problem: Instead of
<link type="text/javascript" href="scripts/JScript.js" />
use following:
<script type="text/javascript" src="scripts/JScript.js"></script>
let me know if it does not wok.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With