Click to See Complete Forum and Search --> : js


leprkn
07-01-2003, 11:47 AM
i've got a script that i want to be able to call from any of my pages.

i know that i can add a <script source= > to call the script, my question is what is the format of the .js page

if somone could just send me some dummy .js file that would be the most helpful. i just need to know what it looks like

thanks...

Jona
07-01-2003, 11:51 AM
<script type="text/javascript" src="dummy.js"></script>



//Dummy.js file
alert("Dummy");


[J]ona

P.S. Great job on the shortest subject ever!! :D

nkaisare
07-01-2003, 12:01 PM
Originally posted by Jona
P.S. Great job on the shortest subject ever!! :D
Lil 'ol Jona is getting quite sarcastic.

Jona
07-01-2003, 12:04 PM
Originally posted by nkaisare
Lil 'ol Jona is getting quite sarcastic.

Hehe... Actually, I meant what I said. :D

[J]ona