hi!i must change a class with javascript
public String helloWorld(                       final  
@ParameterLayout(named="name",cssClass="unaclase") String nameOfLove     )      
 {               return "ok";    }
i change in the css the color of the class and works normaly 
.unaclase{color:blue;}
but i can“t modify the color for example whit javascript like this
 $(document).ready(function() { 
document.getElementById("unaclase").setAttribute("style", "background-color: 
#000000; width: 200px; height: 100px;");});
the question is how can i remplaze this using javascript?                       
                  

Reply via email to