Jquery How to run code after all page content is loaded ?

i have jquery code i want that it execute when whole page and other js scripts are loaded. so how to do it , i tried jquery document ready function but it not worked .

$( document ).ready()

Supporter Asked on December 28, 2016 in Software.
Add Comment
1 Answer(s)
Best answer

js code can be execute it end after loading of all scripts if its enclose in load function like


$(window).load(function() {
// code goes here like


$(function() {
// code here
Supporter Answered on December 28, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.