interesting - Your solution works in Firefox and in Chrome but it
doesn't work in IE 8 and Opera - in these browser background color
inputs is still red - hm... strange - what should I do ?

On 28 Sie, 12:59, Paolo Chiodi <chiod...@gmail.com> wrote:
> try $('#first_input').css('background-color', null)
>
> On Fri, Aug 28, 2009 at 12:23 PM, dziobacz<aaabbbcccda...@gmail.com> wrote:
>
> > I have inputs with validationin in jquery. If data are wrong I make
> > red background color in input:
> > $('#first_input').css('background-color', 'red');
>
> > After click reset I would like to see default input color so I make:
> > $('#first_input').css('background-color', 'white');
>
> > But inputs with background-cloror: white looks different than default
> > inputs - why ?

Reply via email to