<html>
<head>
<title>Order of Events</title>
<script src="javascripts/prototype.js" type="text/javascript"></
script>
</head>
<body>
<script type="text/javascript">
function fCall1() {
alert('Call 1');
}
function fCall2() {
alert('Call 2');
}
function fCall3() {
alert('Call 3');
}
Event.observe(window, 'load', fCall1, false);
Event.observe(window, 'load', fCall2, false);
Event.observe(window, 'load', fCall3, false);
</script>
<form id="form1">
Order of Event Test
</form>
</body>
</html>
Using above code, I get different order of event firing in IE and
Firefox
Firefox: 1,2,3 but in
IE(weird): 2,3,1
how can I get the same order in both IE and Firefox.
Thanks,
:-Uday
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---