function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kalyan123Kalyan123 

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.

magdielhfmagdielhf
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
hitzhitz

any updates ?