June 25, 2010

Precedence of the javascript events

Question by Purushotham Reddy

Is there any precedence to the javascript events that occur in a HTML page ?
For example:

consider these two events onchange and onblur.

Change the text of a text box. The event onchange occurs only onblur of the text box.
In this case which event will be processed first.

I hope I gave the understandable example.

Answer by Starx

onChange, occurs first, if this is what you are asking

Author: Nabin Nepal (Starx)

Hello, I am Nabin Nepal and you can call me Starx. This is my blog where write about my life and my involvements. I am a Software Developer, A Cyclist and a Realist. I hope you will find my blog interesting. Follow me on Google+

...

Please fill the form - I will response as fast as I can!