Hi,
In order to build my page, I would like to use 2 html macros in the same page.
The first macro will include most of my page body (inlcuding Style and Script).
The second macro will include one javascript function i(lets call it LoadData() )n a Script tag
The function defined in the second macro is called by the script in the first macro.
When I run it, I can see an error in the console saying LoadData is unknown.
how can I make it work ?
You may ask why I want to do this. First of all, the LoadData script is quite large so I don't want to risk any change in it.
Also, ultimately, I would like to move it to another page and use the "Include page" macro. I guess I need to make it work first with 2 separate macro in the same page before I move the second macro to another page.
thanks