Answers for "jquery load html"

1

load jquery in html

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
Posted by: Guest on June-12-2021
1

ajax load spesific element from another page

$.ajax({
   url:href,
   type:'GET',
   success: function(data){
       $('#container').html($(data).find('#content').html());
   }
});
Posted by: Guest on December-02-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language