Does anyone know if you can call a ClientScript fu...
# suitescript
e
Does anyone know if you can call a ClientScript function directly without coming from NetSuite button? For example, is there a way to trigger a ClientScript function from an anchor link? For example...
Copy code
<a href="javascript:clientScriptFunction()">Click</a>
b
Add your function to the window global
more modern would be using addEventListener on your anchor's click event
e
Thanks!