Hi,
I am having a problem in how to declare the Script, I made. I want to add the class "inputfield_bordergreen" in the InputText_Field.
Hi ,
i think you are doing ajax refresh after the RunJavaScript, due to which class is removing from your screen.
Try to change the sequence ..
Hope this help
Regards,
Rahul
Rahul Kumar wrote:
Hi Rahul,
I tried your suggestion and it works, I also made a mistake, instead of "classList", I declared it as "classlist" thank you again
Regards
Gerald Malaca
Hi Gerald,
Instead "element.classlist.add ... " try
"document.getElementById('" + InputText_Field + "').classList.add("inputfield_bordergreen");"
João Cardoso wrote:
Hi Joao,
I tried your solution but it is not working,