Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

function call ready resize and load

$(document).ready(myfunction);
$(window).on('resize load',myfunction);

function myfunction() {
    // do whatever
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #function #call #ready #resize #load
ADD COMMENT
Topic
Name
2+4 =