I have some javascript that opens separate windows in certain instances.
Case A looks like this:
if (ac == "b") {
dest = "asbuilts/" + cid + ".gif";
window.open(dest,"asbuilt","width=800,height=1100,scrollbars=yes,menubar=yes");
ac = "";
return false;
}
Case B looks like this:
function get_cat() {
if (document.st.pcat.value != "") {
pcats = document.st.pcat.value;
dest = "sel_parts.php?wo=<? print $woid; ?>&ptype=" + pcats;
window.open(dest, "woparts","width=800,height=1100,scrollbars=yes,menubar=yes");
}
}
In Case B, the function get_cat is referenced in the html like this:
<select name="pcat" class="pt10" onChange="get_cat();">
In case A, it works on the iPad.
In Case B, it works on my (Gen 1) iPad, it does not work on the customer iPad (probably NOT Gen 1).
Is there any known issue regarding this on iPads?
Must be the change event on the Select - try using onblur instead