Home  >  Article  >  php教程  >  php动态生成JavaScript代码

php动态生成JavaScript代码

WBOY
WBOYOriginal
2016-06-13 12:24:37807browse

复制代码 代码如下:


echo
JS;
?>




Please Click



复制代码 代码如下:


$confirm = "Are you OK with this?"; //定义确认框上的信息
$ok_msg = "I'm OK!"; //OK时的信息
$not_ok_msg = "I'm not OK!"; //Cancel时的信息

echo ""; //输出结束
?>




Please Click


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn