用php输出JS中alert里的内容:
这个很简单,直接输出即可。如:
$cc ="中国人";
echo "<script language='javascript'>;alert('$cc');</script>";
用php输出JS中alert里的内容:
这个很简单,直接输出即可。如:
$cc ="中国人";
echo "<script language='javascript'>;alert('$cc');</script>";
相关热词搜索:php
上一篇:PHP过滤除数字以外的所有字符
下一篇:如何用php获取当前日期的7天内的时间