Menu
Is it possible to have a function in an external .js file, and then call this function from an internal script block? If it is, how do you do it? I have some validate-functions which can be used on several of my pages, and it would be more efficient to have them in external files, but I need to call those functions when I click the button.
I have tried searching, but the only results I get are how to make an external .js-file.