When using the Lhgdialog control to spread values across pages, you need to add the data selected in the pop-up window using the check box to the Select (drop-down list) of the parent page. Then the problem arises, the data transfer is not a problem, the option is added in the Select, but the problem occurs when you use the script to remove the value of the drop box as follows:
var _names = document.getElementById (' # # # '); var _pirec = ""; for (i = 0; i < _names.length; i+++ + _names.options[i].value + ";" ;} $ ("# # #"). Val (_pirec);
In the execution of _names.options[i].value reported JS no permissions, and then find it online. The result is more than n (almost all cross-domain issues), but none of them solves the problem.
And then there's no reason to look everywhere.
Eventually the blind Cat ran into a dead mouse (haha) accidentally put the pop-up window JS add option code changed to jquery suddenly found the right
W.document.getelementbyid ("# # #"). Options.add (new Option (# #, # #)); Change to $ ("# # #", Parent.document). Append ("<option value=" + # # + ">" + ##+ "</option>");
But the specific reason, still did not find, eh ....
JS has no permissions