Ah, I missed the whole ordering bit there.

That's a browser-level problem.

In Chrome, you get both alerts, as intended.

In Firefox, the initial alert removes focus from the button so the mouseup 
doesn't register, so the onclick doesn't occur.

Try:
1: Using a JS-built dialog box instead of alert (e.g. jQuery UI)
2: using the onmousedown event for the button instead of onclick. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325718
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to