Home > Backend Development > PHP Tutorial > 后台程序也有浏览器兼容问题?

后台程序也有浏览器兼容问题?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-23 14:01:27
Original
1600 people have browsed it

if(!is_numeric($num)){
echo '<script>alert("请输入数字!");</script>';
}

在IE浏览器下输入数字也会执行if里的弹框 求解


回复讨论(解决方案)

后台程序跟浏览器兼容木有关系啊

后台程序跟浏览器兼容木有关系啊


是啊 我也觉得奇怪 可我就是碰到了这样的问题

$num 从哪来的,打印出来看看

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