www.pickatutorial.com Computer Tutorials
Top eBooks: C/C++ | C# | Android | Mathematics | Database | Cloud | Graphics | Networking | Oracle | Hardware | AI
Top Tutorials: C/C++ | C#.NET | PHP MySQL | Java | Java Script | jQuery | HTML | xHTML | HTML5 | VB Script| CSS
Lessons JavaScript Events onBlur, onChange, onClick, onFocus, onSelect, onSubmit Bookmark and Share
Tutorial Home
Lesson 1
Lesson 2
Lesson 3
Lesson 4
Lesson 5
Lesson 6
Lesson 7
Lesson 8
Lesson 9
Lesson 10
Lesson 11
Lesson 12
Lesson 13
Lesson 14
Lesson 15
Lesson 16
Lesson 17
Lesson 18
Lesson 19
Lesson 20
Lesson 21
Lesson 22
Lesson 23
Lesson 24
Lesson 25
Lesson 26
Lesson 27
Lesson 28
Lesson 29
Lesson 30
Lesson 31
Lesson 32
Lesson 33
Lesson 34
Lesson 35
Lesson 36
Lesson 37
Lesson 38
Lesson 39
Lesson 40
Lesson 41
Lesson 42
Lesson 43
Lesson 44
Lesson 45
Lesson 46
Lesson 47
Lesson 48
Lesson 49
In the previous lesson we learned different mouse and keyboard events. We learned to add interactivity to our web pages using the keyboard and the mouse events.

Besides the mouse and keyboard events, we learned in the previous lessons, there are more events available in JavaScript, which we are going to discuss in this lesson.

onBlur event is raised when a select, text, or textarea form item is acted upon and then moved off of by the user. In other words, when the item losses focus the onBlur event is raised.

onChange event is raised when the text in a select, text, or textarea form item is altered by the user.

onClick event is raised when the user clicks the user clicks on an object e.g. button, image, hyper link etc.

onFocus event is raised when a select, text or textarea items is selected on an HTML form.

onSelect event, as its name implies, is raised when some tex in a text box or text area is selected.

onSubmit is an important event that is raised when the submit button on an HTML form is clicked to submit the form data to the web server. Sanity checking of the data being submitted can be performed on the client side using this event.

Next >>> Lesson No. 30: JavaScript Error Handling





Home - Advertise - Contact - Disclaimer - About Us
© Since 2006 pickatutorial.com -- All Rights Reserved.