2011 Trapping jQuery Mobile Dialog Open And Close
I needed to trap the events triggered when a dialog is opened and closed in a jQuery Mobile app. After trying all sorts of combinations of open, close, and dialog events, I found that these will do the trick:
1// Dialog opened
2$('#myDialog').on("pageshow", function() {
3 alert("Opened");
4});
5
6// Dialog closed
7$('#myDialog').on("pagehide", function() {
8 alert("Closed");
9});
2$('#myDialog').on("pageshow", function() {
3 alert("Opened");
4});
5
6// Dialog closed
7$('#myDialog').on("pagehide", function() {
8 alert("Closed");
9});
2011 ColdFusion Security Hotfix Posted
The ColdFusion team has just posted a security hotfix to address a potential cross-site scripting vulnerability in ColdFusion 8.x and 9.x (Windows, Macintosh and Unix).