[wd_asp elements=’search’ ratio=’100%’ id=1]

Append content to div

14th April 2014

Jquery Misc

jquery icon

whatever the div contains, when clicked (#g1) it will add the content.
$('#g1').click(function(){
$(this).parent().append('I\'m a new link');
return false;
});

To append a web page to a div use post

$.post("dog.php",function(myresult){

$(".divarea").append(myresult);

});