ShowModalDialog Recycling Questions

zhaozj2021-02-16  86

A page opens the B window in the page, how to control a page behavior in the B window ?!

Add the following JavaScript code in the B window: // Get the variable Var myobja = window.dialogarguments in the previous page, you can operate the variables in the A page, such as: myobja.myforma.fielda.value = "xxxx"; myobja.myforma.action = "yyyyyyy"; myobja.submit ();

For details, please refer to:

http://dev.9cbs.net/develop/Article/15/15113.shtm

http://dev.9cbs.net/Article/27/27760.shtm

转载请注明原文地址:https://www.9cbs.com/read-11936.html

New Post(0)