javascript三个弹窗方式的

来源:互联网 发布:人人商城分销源码9.9 编辑:程序博客网 时间:2024/05/18 17:59
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Insert title here</title><script type="text/javascript">// 弹出窗口  //var  v=alert("hello");//没有返回值//alert(v);//有返回值   true 和false/* var str = confirm("hello"); alert(str); */  //  当点击确定的时候  返回的 是 输入的字符串 var r =prompt("你是 我的 我是你的 ");  alert(r);</script></head><body></body></html>

0 0
原创粉丝点击