有些情况 window open 张不开 只能用jquery自带方法
------------------js
function widOpen(){
// var args = new Object();}
var shop;
function getShopCode(){
return shop;
}
function setShopCode(shop){
shop = shop;
windOpen(shop);
}
----------------------------------------------jsp
<div id="dd">
<iframe scrolling="auto" id='dialogframe' frameborder="0" style="width:100%;height:99%;"></iframe>
</div>
-----------------------------------------------xml
<!--查询TMS窗口 -->
<action name="searchTmsCardInfo"
class="com.sand.action.svcOrder.MaintenanceAuditAction"
method="searchTmsCardInfo">
<result name="success">/jsp/700svcOrder/711_maintain_audit_view_Tms.jsp</result>
</action>
---------------------------------------------java
public String searchTmsCardInfo() throws Exception {
return SUCCESS;
}
--------------------------------------------张开页面
window.parent.setShopCode(args);
window.parent.$("#dd").dialog("close");
var args;
shopCode = window.parent.getShopCode();
document.getElementById("misTmsTaskSerialNo3").value=shopCode;(付值)
---------------------------------------------