jQuery load()

The jQuery load() method is used to attach a function to run when a load event occurs i.e, when a specific element is loaded. Syntax: To trigger the load event for selected elements. $(selector).load() To add a function to the load event. $(selector).load(function) Function: It is an optional parameter. The function parameter specifies the function … Read more