hi,
i am new in html scripting ,this project using to control relay with netduino board , the code is attached it is a simple js page contains 2 buttons one for on and another for off , i want to when this page is displayed the status of led is displayed to to know if it is on or off for example a button box contains led is on with green color and the opposite button box with red color when led is off
LedController.cs.txt