I have an older HTML application that I am supporting, and admittedly, some of the JavaScript techniques are old, but I don't have the time to re-write the application at this time, it is 100,000's of lines of code.
A little background:
- the code has been unchanged in several years
- the code works on OSX (10.8.2) in Safari
- the code works in Win 7 in Safari (5.1.7)
Unfortunately, several of my users have upgraded to iOS6 on the iPad and the code does not work in either Safari or Chrome.
The application will pop-up a window/tab based on the onChange event of a select element or from the onClick of a button.
The onClick from the button does not trigger the Safari "Allow Pop-up", but the onChange event does.
Once the pop-up window/tab has been opened (via one of the two methods above), the user makes a selection on screen and clicks a button which (ultimately) triggers a window.opener function.
I can not ever get the window.opener function to trigger when the pop-up window was triggered from the onChange (select element).
The window.opener will usually (maybe always, but I seem to remember it didn't once or twice) trigger if the pop-up window remains open, but the user manually puts focus on the "opener" window.
Again this works (and has worked) for many years on many different browser, unfortunatey, most of my users are now on iPads.
Any thoughts or tips would be greatly appreciated.
BTW first post, so please be kind.
0 comments:
Post a Comment