In javascript what is event handling and inline event, JAVA Programming

Assignment Help:

In JavaScript, what is event handling? What are the two categories of events?

In java script we could capture events on do a few operation on the basis of which particular event. For example we need to load some data on web page then along with the help of event handling we could do this operation through using onLoad event.
We can put Event handlers within the body of web page and also in attributes of HTML.

From the attribute we could call any JavaScript function that will do his operation and come back. Now we can also interact along with server side with the help of AJAX in JavaScript function.

In-Line Event Handling

We can place event handlers within the BODY part and also in HTML attributes the event handlers attributes consist of 3 elements the event handler, equal sign and a string of JavaScript statement enclosed within quotes (single or double). And one more thing these should be put within one line without newline because of this sophisticated event handling is not possible along with in-line event handling.


Related Discussions:- In javascript what is event handling and inline event

How to passing parameters to applets, How to Passing Parameters to Applets ...

How to Passing Parameters to Applets ? Parameters are passed to applets in NAME=VALUE pairs in tags among the opening and closing APPLET tags. Inside the applet, you read th

Prepare a java program to read .gpx files, Prepare a Java program to read ....

Prepare a Java program to read .GPX files Project Description: Prepare a Java program (GPX_Tracks_to_Text.Java) for Windows to: - Read every .GPX file in a provide drive a

Need software to print bills on a4 pape, Need software to print bills on A4...

Need software to print bills on A4 paper in the format provided. The details are shown below - 1. Serially generated Invoice Number. 2. Appropriate fields in the invoice have

Concurrent Programming, Problem 1 A savings account object holds a non-nega...

Problem 1 A savings account object holds a non-negative balance, and provides deposit(k ) and withdraw(k ) methods, where deposit(k ) adds k to the balance, and withdraw(k ) subtra

Java is object oriented programme language, Java is Object oriented program...

Java is Object oriented programme language Java is comprehensively OOP language with robust memory system Memory errors largely disappear due to safe pointers and garbage c

Queues, we can insert elements at rear and remove at front bt my question i...

we can insert elements at rear and remove at front bt my question is that how we insert at front in circular queue

Write a program that will analyze stocks, Write a program in java that will...

Write a program in java that will analyze stock data and purchase stock with the user''s specific risk and investment. User will select risk from a GUI, high, medium or low and inp

When should i use abstract classes and interfaces, When should I use abstra...

When should I use abstract classes and when should I use interfaces?  Use Interface, when: Design changing often or when various implementations only share method sign

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd