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 ?