”。"/> ”。">
Home > Backend Development > PHP Tutorial > PHP有几种方法实现弹出消息提示框

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

PHPz
Release: 2020-06-23 10:54:04
Original
5173 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
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template