onload in javascript example 25 Onload In Javascript Example The onload attribute can be used to check the visitor's browser type and browser version, and load the proper version o… Written By Trenton V. Williamson Saturday, May 7, 2016 Add Comment Edit