Answers for "jquery load when page is loaded"

4

check if jquery is loaded

$(document).ready(function(){
  if (jQuery) {  
    // jQuery is loaded  
    alert("Yeah!");
  } else {
    // jQuery is not loaded
    alert("Doesn't Work");
  }
});
Posted by: Guest on April-15-2020
0

load page jquery

Syntex
$(selector).load(URL, data, callback);

Example:
$('#loadhere').load('file.html'); 
<div id="loadhere"></div>
Posted by: Guest on April-08-2021

Code answers related to "jquery load when page is loaded"

Code answers related to "Javascript"

Browse Popular Code Answers by Language