answersLogoWhite

0

An event handler responds to a certain even that is triggered when the conditions of the handler are met.

The most common scenario is an event handler that executes when a "click" event is registered by the object it is attached to, or the objects contained therein. (This is called "bubbling.")

User Avatar

Wiki User

∙ 14y ago
User Avatar

What else can I help you with?

Related Questions

What is the Javascript onclick?

The Javascript onclick function is a popular part of Javascript. The Javascript onclick function makes it easy and simple for one to quickly link a page.


How do you add a click event to a java button?

we can do this using of javascript. you can use this following code: <input type=button value="button" onClick=onclick_function()> here onclick_function() is a function which is called by javascript on clicking the button. javascript code is as follows: <script language="javascript" type="text/javascript"> // your code for onclick_function() function onclick_function(){ alert("Welcome to javascript"); } </script>


How do you call javascript function from scriplet?

To call a JavaScript function from a JSP (JavaServer Pages) scriptlet, you can use the <script> tag within the scriptlet code. For example: <% out.println("<script>myJavaScriptFunction();</script>"); %> This code dynamically generates a <script> tag that calls the specified JavaScript function when the JSP is rendered in the browser. Ensure that the JavaScript function is defined and accessible in the client-side context.


How do you call javaScript function inside table?

<table> <th onclick="checkData()">ID</th> <th onclick="checkData()">Name</th> </table> <script type="text/javascript" language="javascript"> function checkData() { // Your Javascript code here alert("It Works"); } </script>


How do you use the JavaScript confirm function in PHP?

It has to be done with Javascript. Though you could do something like this:


What does javascript this mean?

In javascript, the word "this" refers to the ¢«Ê«_owner¢«Ê« of the function being executed. Put another way, "this" means the object that a function is a method of.


How do you activate jQuery in flash actionscript button?

Use the getURL() function to run javascript with the "javascript: " protocol. getURL("javascript: $('jquery code here');", "_self");


How can one use JavaScript to open a window?

JavaScript contains a function that is specifically written and designed for the purpose of opening a new window. In Javascript, this function is simply called 'open new window'. When this object is initiated, one can determine the properties of the window to be called and open a new window using JavaScript.


How do you get a window to pop up only after a video finishes using JavaScript or VBscript?

If you are playing the video in Flash you can call a javascript function at the end of the video streaming through getURL. So internally the javascript function will open the pop up window.


How does the javascript function performs the validation check?

JavaScript can do the validation checks easily. All you have to do is provide the values you want to validate.


Which javascript function is most useful for finding erro?

Alert


Example of predefined function?

function callMe (fx_params) { alert(fx_params); } callMe('Alert Loaded from a JavaScript function'); This would be in a javascript page, or in a JS Script tag.. - Caleb Convina Web Design and Hosting