2010-09-20 239 views

回答

1

我假设您希望将值输出到JavaScript函数window.open。你可以回显window.open和标签之间的各种选项。类似这样的:

// 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');";