Gert Vanwijn
Posts: 0
Joined: Wed Mar 27, 2013 1:19 pm

Border color of an input component

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Border color of an input component

Hi Gert,

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

Return to “Issues”