If I have to calls to javascript functions (ProcessingOne and ProcessingTwo for example), and I associate them both with a button’s onclick event:
– one is linked to the button’s onclick in the document ready call
– the other is directly entered in the html of the button
Which will be triggered first when the button is clicked?
(Ok, I could test this out in 5 mins, but I want to know what the standard way a browser would handle this would be)
From the DOM Level 2 (Events) Specification: