How to call JavaScript function from JavaScript widget in OutSystems
Application Type
Mobile, Reactive

I have done the following steps which are given below.

  1. Load Html on Container using web blocks.
  2. HTML contains some javascript methods.
  3. Let me know how to call the javascript method from the javascript widget inside the button action.



If the JavaScript function is available in the global scope (window) you should be able to call it just by its name.

If you would share an OML file with your code it would be easier to understand what you try to do.



Hi Ravindra,

In Reactive/Mobile you just create client actions and use JavaScript inside it.

Now from another function use javascript node call the previous client action in which your javascript code exists.

you can use this keyword $actions to call client actions

With Regards,


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.