”。"/> ”。">

PHP有几种方法实现弹出消息提示框

PHPz
Release: 2020-06-23 10:54:04
Original
5103 people have browsed it

PHP有几种方法实现弹出消息提示框

PHP使用之实现弹出消息提示框的两种方法

方法一:

echo "<script>alert(&#39;提示内容&#39;)</script>";
Copy after login

方法二:

echo &#39;<script language="JavaScript">;alert("这是");location.href="index.htm";</script>;&#39;;
Copy after login

更多相关技术文章,请访问PHP中文网

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!