Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 3 made on Wednesday April 1, 2020 at 19:00
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,997
You really did not fix it if you used "==" in
{w.label == "_";}
the above statement is actually not an assignment to the label but instead just evaluating the condition which reports true if the label of the widget matches "-"

Hoping this is just copy/paste or retype error on your part.


A better approach along to set the label to "-" if timer is not numeric is:

if (isNaN(hallLightsTimer)) {w.label ="-";}

[Link: w3schools.com]
Lyndel McGee
Philips Pronto Addict/Beta Tester


Hosting Services by ipHouse