Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How To Call JavaScript Function After Div Load With Source Code

document.querySelector('#my_area').addEventListener('load', function(){
  aTestFunction();
});

function aTestFunction(){
	return "called";
}
Source by www.insidethediv.com #
 
PREVIOUS NEXT
Tagged: #How #To #Call #JavaScript #Function #After #Div #Load #With #Source #Code
ADD COMMENT
Topic
Name
6+4 =