M
Mark R
Guest
I need to put a Javascript file ( www.jokes2text.com/jokes.js ) into another HTML page, both on the same site, and on another site. I have tried using
<script type="text/javascript" src="jokes.js"></script>
but it doesnt work at all. I tried running the Javascript code in an editor and it seems to work fine there. I just need the output
GetStatement(0)
to show up as text.
I still cant get it to run. Im not sure how to call it or make it automatically run on a page. Im new(er) to programming and Java.
Whats the most basic code I can use to get it to run on a new blank webpage, and I can figure it out from there.
<script type="text/javascript" src="jokes.js"></script>
but it doesnt work at all. I tried running the Javascript code in an editor and it seems to work fine there. I just need the output
GetStatement(0)
to show up as text.
I still cant get it to run. Im not sure how to call it or make it automatically run on a page. Im new(er) to programming and Java.
Whats the most basic code I can use to get it to run on a new blank webpage, and I can figure it out from there.