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(.............

Julien wrote:
Hello,

i'm trying to find out how to edit (manipulate DOM) of an HTML ajax
result.

What i have is the following :

$('a').live('click',function(e){
    var link = this;
    $.ajax({
      url: "testAjax.html",
      cache: false,
      data: 'href=''padding-left','80px');

I can't find how to do that. I tried using the find function but it
only return the td in the example.

It's probably very simple but i can't find it anywhere...

Any help much appreciated!

  

Reply via email to