var ads = $(this).html();
On Jan 30, 9:06 pm, felipe <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to insert adsense code as follows: > > var ads = $(this).text(); /// the adsense code goes here > > $(tr).append( '<td colspan="5">' + ads + '</td>' ) ; > $(tr).addClass('ads'); > $('table#' + tablename + ' tr.header').after(tr); > > Nothing happens. If I put some other html code into scalar ads, it > works. > > Any idea? > > Thank you, > > Felipe