Custom Search

How do we reference HTML controls using Atlas?


You can reference the above HTML defined button using the below code snippet of JavaScript. We have also attached the onClick method with the button. This method will be called when we click the button. var btnVisibility = new Sys.UI.Button($('Button1')); btnVisibility.initialize(); btnVisibility.click.add(onClick);
You can refer other HTML elements like Label, Textbbox m CheckBox , Hyperlinks etc using the Sys.UI.
Your Ad Here