Hi,
IIRC there is no way to add a script from a piece of HTML. I think in most cases it will be filtered by Moodle before returning to the app, and even if it reaches the app I think the script won't be loaded. Simple things like adding an onclick to an HTML can be added (if Moodle doesn't filter them), but not scripts.
Cheers,
Dani
IIRC there is no way to add a script from a piece of HTML. I think in most cases it will be filtered by Moodle before returning to the app, and even if it reaches the app I think the script won't be loaded. Simple things like adding an onclick to an HTML can be added (if Moodle doesn't filter them), but not scripts.
Cheers,
Dani