Executing HTML and JS code in mendix

Hi, i have a file with the code including HTML and JS, how i can execute it in mendix. Using HTML/JS module, we can either execute HTML or JS not both. Please help!
1 answers

You will need to split this into two parts and use the HTML Snippet widget twice.

In the first part you would include your HTML in the Snippet with the HTML option checked.

In the second HTML snippet you would check Javascript and then include the Javascript code (without the script tags).

Hope this helps.