Custom plugin how to load script

navjinder

New Member
Does anyone know how to load a js script in element plugin. I am writing a plugin to create a handsontable element the only issue is I am not able to load the js file. Any help?
 
I have used
Code:
FabrikHelperHTML::addScriptDeclaration('requirejs(["' . COM_FABRIK_LIVESITE . 'plugins/fabrik_element/handsontable/handsontable.js"], function () {});');
but still it is not working
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top