通过js定义两个变量,传入ocx事件中,ocx改变并返回这两个变量。高手帮看下怎么不执行呢function DxMapProj_onclick() {
var theid =1;
var thetype =2;
var Dx=document.getElementById("DxMapProj1");
Dx.GetSelectedID(theid,thetype);
alert(theid);
alert(thetype);
}执行后还是1和2.。。
var theid =1;
var thetype =2;
var Dx=document.getElementById("DxMapProj1");
Dx.GetSelectedID(theid,thetype);
alert(theid);
alert(thetype);
}执行后还是1和2.。。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货