java script function and use

java script function-: A function is a reusable code block that will be execute by an event, or when the function is called. To keep the browser from executing a script when the page loads, we can put our script into a function. A function contains code that will be executed by an event or … Read more