Button Color change using javascript in Native Mobile

0
Is it possible to change the clicked button color using javascript in native mobile. I wrote a code in js like “document.getElementsByName(“Button_Name”).bgcolor=”#color””  butit is schowing an error like “” An error occurred while executing an action of M03_xxx.yyyyy.Button_Name: Can't find variable: document. Please help me to sort this.  
asked
1 answers
0

Is it not possible to use Dynamic Classes?

 

answered