[jQuery] Re: Method addClass is not working with MS Internet Explorer (IE) 6

2007-10-26 Thread Mindjoy
classes with a > new one using jQuery. > > $('#add-new-rows').removeClass().addClass('display-table-row-group'); > > $('#add-new-rows').attr('class', 'display-table-row-group'); > > Hope that helps. > > --Karl > __

[jQuery] Method addClass is not working with MS Internet Explorer (IE) 6

2007-10-25 Thread Mindjoy
I am using onclick event on input type="button" to addClass, but there is no effect in IE 6, while it works fine in Mozilla and Opera browsers. I know that IE works fine with such CSS styles, since it works with my simple code without jQuery (document.getElementById('add- new-rows').className='dis