+ Start a Discussion

Access Static resource javascript file in Custom button OnClick event

I have a javascript in static resource. How can I refer this from the onClick event of Custom Button.

I would like to refer this as external javaScript source and use the functions. Please help me. thank you.

I'm trying the same thing, as far as I know you can't, so what I had to do was move to snippets or hosting the javascript files using requireScript with my reference

any updates ?