Peter, Thanks a lot! Your solution is excellent.
For the time being we will replace the onclick event with the onmousedown...Writing cross-browser independent code proves to be very challenging. Regarding jQuery. Yes, I definitely agree with you. Currently we are evaluating and comparing it with YUI. Joseph. > 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:325726 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

