Page 1 of 1

Border color of an input component

Posted: Tue Apr 23, 2013 1:23 pm
by Gert Vanwijn

Hi,

How can I change the border color of a specific input component ?
I need to do this to indicate which required fields aren't correctly filled in,
so the border color has to change when a button is clicked.

Appery('nameofcomponent').css('border','#ff0000); doesn't do it


Border color of an input component

Posted: Tue Apr 23, 2013 2:08 pm
by Kateryna Grynko

Hi Gert,

Try the following code to change Input component border:
codeAppery('nameofcomponent').parent().css('border','2px solid #ff0000');/code