Hello everybody, i have this code:
$.ajax({
type: GET,
url: latest-tweet.php,
cache: false,
success: function(html){
}
});
And my latest-tweet.php returns:
div class=last style=display:none
div class=user?=$update-user-name?/div
div
Thanks for your reply Rodrigo.
On Sep 21, 10:57 am, Rodrigo Sebastián Alfonso
rodrigo.s.alfo...@gmail.com wrote:
let's say you have World in data, you have to do this:
$(div).find(p).html($(div).find(p).html() + data);
so your html would look like:
divpHelloWorld/p/div
On Mon, Sep 21,
Anyone has any idea ?
I have tried this way.
$(divpHello/p/div).find(p).appendTo(#content); //
works... it append pHello/p
I have tried it with all the content of data parameter
$(data).appendTo(#content); //works - add all the DOM received in
Data
The problem is when I try to extract a part
let's say you have World in data, you have to do this:
$(div).find(p).html($(div).find(p).html() + data);
so your html would look like:
divpHelloWorld/p/div
On Mon, Sep 21, 2009 at 11:49 AM, Frederik fdussau...@gmail.com wrote:
Anyone has any idea ?
I have tried this way.
this :
var elem = $('#section_news', data);
is not the right syntax.
Wrong syntax? Please explain.
I try to use this instruction found on http://www.visualjquery.com/:
jQuery(expression, context)
The core functionality of jQuery centers around this function. Everything in
jQuery is based upon this, or uses this in some way. The most basic use of
this
6 matches
Mail list logo