[jQuery] Re: Insert content in row

2008-09-30 Thread Web Specialist
Wonderful!!! Thanx p.s.: to avoid several appended content I used: $( '#' + this.id + '_injected' ).html(''); On Tue, Sep 30, 2008 at 3:39 PM, BB <[EMAIL PROTECTED]> wrote: > > Try this: > $('.rowContent').click(function(){ > var row = this; > $.get("getCountryContent.cfm", {

[jQuery] Re: Insert content in row

2008-09-30 Thread BB
Try this: $('.rowContent').click(function(){ var row = this; $.get("getCountryContent.cfm", { u: row.id }, function(data){ // this == the options for this ajax request var $conteudo = trim12( data ); alert("Data Loaded: " + $conteudo); $( '#' + row.id ).append( $conteudo ); }