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

Hi Diego,

Would it be possible to share oml file?

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

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


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

Solution

Hi Diego,

You made a small typo mistake in your code.

Error: hour is not defined!

Hope this helps you!


Regards,

Benjith Sam

Solution

Benjith Sam wrote:

Hi Diego,

You made a small typo mistake in your code.

Error: hour is not defined!

Hope this helps you!


Regards,

Benjith Sam

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


Benjith Sam wrote:

Hi Diego,

You made a small typo mistake in your code.

Error: hour is not defined!

Hope this helps you!


Regards,

Benjith Sam


OMG, I don´t believe this. ah
Thank you 

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

Diego Souza wrote:

OMG, I don´t believe this. ah
Thank you 

Glad I could be of help!


Regards, 

Benjith Sam