One, this is JSP section of this forum and JSP stand for Java Server Pages
Two, JavaScript has nothing to do with Java, as JS is scripting language and Java is programming language(needs to be compile first and then can be executed)
Three, you should post it in ASP part of this forum
PS:Request for moving this post to ASP section been sent, so please DO NOT create another post there
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 901
You take out the relevant javascript portions and save it as a .js file, then include it like any other javascript file in your aspx source.
nikkiH
Junior Poster in Training
79 posts since Dec 2006
Reputation Points: 13
Solved Threads: 4
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 901
You include it exactly the same as you would in an html file. An aspx file is still markup, just like html, and normal markup tags are allowed in addition to special aspx tags.
So,
nikkiH
Junior Poster in Training
79 posts since Dec 2006
Reputation Points: 13
Solved Threads: 4