7万
861
32万
论坛元老
不用alert,用console.log()
复制代码 代码如下: <!DOCTYPE html> <html> <head> <script type="text/javascript"> function showLog(message){ console.log(message); } function test(name){ showLog(name); } test("hello"); </script> </head> <body> </body> </html>
以上算是一个个人心得,这里分享给大家,小伙伴们试试看。
使用道具 举报
0
1万
中级会员
1
2万
319
6
425
55
注册会员
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|网站地图|源码论坛 ( 海外版 )
GMT+8, 2025-2-1 19:43 , Processed in 0.112063 second(s), 26 queries .
Powered by Discuz! X3.4
Copyright © 2001-2020, Tencent Cloud.