Javascript linking to html?

Dave D

New member
Currently I have 60 pages,each with a 'random' code sequence.
When a user pushes the random button, the javascript is triggered and the user is taken to a random page.

Is there a way I could have one external javascript file containing the code.
Instead of updating the code on all 60 pages when I add a page. This external file would be called when the 'random' button is pushed.

Thanks!
 
Back
Top