can you give me full working example? This is what i try. The dummy td did apply css style ,but all dynamic td are not apply css style.
<table id="tbid"> <tr><td>dummy</td></tr> [row append dynamiccly] </table> On Aug 2, 6:54 pm, Stefano <ares...@gmail.com> wrote: > this is a more css problem than a jquery problem. > you have to make the right order in your css and use right selector. i > had the same problem. > <example 1> > td.td-class div a { > /*some styles*/} > > a.active:hover { > /*some styles such as background-image dondt wordek but border worked. > in my case dont worked on dynamic generated markup because its not > very DOMified i think- that are not 100% clear paths and maybe its > troube for the js interpreter and the render engine- this is only > speculation*/} > > </example 1> > > <example 2> > td.td-class div a { > /*some styles*/} > > ... > ... > td.td-class div a.active:hover { /* << look at the selector */ > /* i think now the js interpreter sees the path better than before in > my case it worked- try to mani pulate your css order and use right > selectors*/} > > </example 2> > > example 2 worked in my case > > try it out ;) > > On 2 Aug., 05:53, dealkk <jasonpha...@gmail.com> wrote: > > > i create tatble row dynamic using append after calling web service. It > > create ok. > > > After create table i try to add css to the td but it doesn't seem to > > work. any idea how to resolve this. the syntax is correct. I notice > > when i view source, the all the row are not there. > > > <table id="tbid"> > > [row append dynamiccly] > > </table>