You need to sign in to do that
Don't have an account?
ihssan taziny
How to reference javascript function defined in Static resource in a List Button
I programmed a button to execute javascript code when i click on it. And for the Button code i am using a static resource that has some javascript functions. Here's the way i include my Static Resource in my Button code :
The problem is that when i want to call a function defined in the static resource i get an alert message telling me that the function is not defined.
I am calling the function in my custom Button like this:
So my question is how can i call the function getCheckedRows. that is defined in the stqtic resource.
{!REQUIRESCRIPT('/resource/1437644087000/uploadFunctions')}
The problem is that when i want to call a function defined in the static resource i get an alert message telling me that the function is not defined.
I am calling the function in my custom Button like this:
var parentForm = this; var rows = getCheckedRows(parentForm);
So my question is how can i call the function getCheckedRows. that is defined in the stqtic resource.
https://success.salesforce.com/ideaView?id=08730000000KRuxAAG
http://jevonearth.blogspot.in/2011/08/using-static-resources-with-salesforce.html