Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

ajax load spesific element from another page

$.ajax({
   url:href,
   type:'GET',
   success: function(data){
       $('#container').html($(data).find('#content').html());
   }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ajax #load #spesific #element #page
ADD COMMENT
Topic
Name
4+2 =