Originally posted by ghjk
Hi ghjk,
You have two choices:
1. Use the script tags in the <head> section of the page and have the function listed there.
2. Use the script tags in the <head> section to reference an external *.js file that contains the function.
My preference is the second option. I normally have a file called functionlibrary .js and all my JS functions are listed in there, normally organised by what they do.
Take a look at this tutorial
cheers
nathj
Leave a comment: