1

I used the link to attach the js file but the aspx cant read functions from it.

1
  • it was a Firefox cache probelm Commented Apr 6, 2011 at 11:32

1 Answer 1

2

From within your *.aspx file you should write:

<script src="/script-location/your-script.js"></script>

or

<script src="http://www.yousite.com/script-location/your-script.js"></script>

You can then use functions from within it:

<script>
    mySpecialFunction();
</script>

See It Here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.