We have an iPad application that\'s working on our older iPads.
We open external links using var x = window.open(url)
at the end of the day, when the user cl
That did the trick for me (iPad 2 and 3; 3 with iOS 5.1.1)
var host=window.opener;
window.focus(); /* solves the iPad3 problem */
window.close(); /* the actual closing we want to achieve... */
/* makes the focus go back to opener on iPad2, fails silently on iPad3 */
try { host.focus(); } catch(e) {}