if it was json or xml could parse it then append, I've never tried parsing html from ajax

another  method is append  to an empty hidden table, add classes/css or whatever to the td's in that table then append them to your visible table

Julien wrote:
On 1 oct, 16:26, Charlie <[email protected]> wrote:
  
you are trying to apply css to something that isn;t in  the DOM.  $.css() uses inline style attribute so if there is no html inline the attribute can't be applied
can you add class name to html server side and use css to pad?
if not you could add class to exisitng td's before insertion of new html, insert your AJAX, then do something like
$("td").not('existTDClass').css(.............
    

Thanks Charlie.
The answer you're giving me is what i was actually going to do.
But i'm surprised that you can't do something like that straight with
jquery.

The functions find() and filter() seems to work on html returned by
jquery ajax.
It seems very close to what i need.

So there is no other way at all?

  

Reply via email to