如何在呼叫时传递不同的值窗口打开方法值是窗体值。
我假设您希望将值输出到JavaScript函数打开新窗口. 你可以呼出声音窗口打开以及标签之间的各种选项。像这样:
// untested code $options = "width=$width,height=$height"; $url="www.google.com"; // assuming you have echoed out the JavaScript language tags echo "window.open('$url', '$options');";