请教各问大神帮忙指点迷津
移动端如何实现子父页面传值:function add_user(产品编号,产品名称,规格){
var cs = <?=$传值ID?>;
var wlcf=0;
$("#WLBH_"+cs, parent_window.document).val(产品编号);
$("#WLMC_"+cs, parent_window.document).val(产品名称);
$("#GG_"+cs, parent_window.document).val(规格);
parent.close();
说明:参数值没问题,传过来了,网页版没问题,就是移动端在使用jquery将值传到父页面时,失败
弹出子页面用的是window.open方法,在网页版可以弹出小窗口,到移动端编程大窗口了,并且值传不过去了,请教个问大神指点一下:
function LoadDialogWindow(URL, parent, loc_x, loc_y, width, height)
{
window.open(URL,"load_dialog_win","height="+height+",width="+width+",status=0,toolbar=no,menubar=no,location=no,scrollbars=yes,top="+loc_y+",left="+loc_x+",resizable=yes,modal=yes,dependent=yes,dialog=yes,minimizable=no",true);
}
function KeHuLianXiRen(CS){
var URL='/mobile/ruku/EDU/POP/KuCunPop/JiChuShangPin.php?CS='+CS;
var openWidth=900;
var openHeight = 530;
var loc_x = (screen.availWidth - openWidth) / 2;
var loc_y = (screen.availHeight - openHeight) / 2;
LoadDialogWindow(URL,self,loc_x, loc_y, openWidth, openHeight);
}