[jQuery] Re: Does addClass overwrite property

2007-04-27 Thread Dave Cardwell
joomlafreak wrote: I have a very basic question. If I use addClass, will it overwrite a css property. Say for example I use $(.div1).click(funtion(){ $(this).addClass(div_active) }); The div1 had css property background-color set to white and in the class div_active background property is

[jQuery] Re: Does addClass overwrite property

2007-04-27 Thread joomlafreak
You were on dot Sir, Thanks I changed the order and t works as I dream. Thanks again Have a nice day. People like you inspire everyone to help others. On Apr 27, 3:11 am, Dave Cardwell [EMAIL PROTECTED] wrote: joomlafreak wrote: I have a very basic question. If I use addClass, will it