Remove Ad On Free Hosting

11 2012

1. Import the java script on your home page …
“http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js”
2. Add this code

$('#hello').remove();

Or

$('#hello').empty();

Or

$('#hello').css('display','none');

#hello – id of the div (DOM).

jQuery Ajax

11 2012

1. Call jQuery script from “http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js”

2. Include the following code.

$.get('test.php', function(data) {
  $('#divresult').html(data);
 
});

test.php – A dynamic page / static page needs to load in the div.
#result – Div used to replace the dynamic content.
data – response from the dynamic page.

3. Trigger this event in onclick or any other event using javascript.

See the jQuery ajax how fast it is …..