- Create a file for the jquery eg uploadfuntion.js.
- Save that file in the same folder as website or in subfolder.
- In
head section of your html page paste:
and then the reference to your script eg:
4.Lastly you should ensure there are elements that match the selectors in the code.