84
Views
8
Comments
Solved
How to display HTML with variables on Mobile App

Hello,

I'm developing a mobile application and don´t understand why the content is not displayed in the "TimerContainerId" when I have variables.
I'm trying to replicate a javascript code for the first time and don't work it.

Can you help me? Please.

Regards

mvp_badge
MVP
Rank: #96
Solution

Hi Diego,

You made a small typo mistake in your code.

Error: hour is not defined!

Hope this helps you!


Regards,

Benjith Sam

Rank: #45

Hi Diego,

Would it be possible to share oml file?

mvp_badge
MVP
Rank: #19

Hi Diego,

When running your application open the browser DEV tools, check the console for errors, or search the javascript code and set a breakpoint, allowing you to step through the code and see where it goes wrong.

Regards,

Daniel

Rank: #737

var elHTML = document.getElementById($parameters.TimerContainerId);


Make HTML a local veriable and use that in a container. 

mvp_badge
MVP
Rank: #96
Solution

Hi Diego,

You made a small typo mistake in your code.

Error: hour is not defined!

Hope this helps you!


Regards,

Benjith Sam

mvp_badge
MVP
Rank: #96

Daniël Kuhlmann wrote:

I tried to get him find that error by himself... with the DEV tools 

I appreciate that, Sir Daniel :)


Regards,

Benjith Sam