移动 IOS7弹出提示

function showMessage(){
Message.showMessage("Hello RunJS! 我是郏高阳");
};
function showNotify(){
Message.showNotify("这是一个2秒钟隐藏的通知",2000);
}
function showConfirm(){
Message.showConfirm("你是郏高阳吗?","是","不是",function(){
  Message.showMessage("点击了:是");
 },function(){
  Message.showMessage("点击了:不是");
 });

}


////////////////////

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>RunJS</title>
<script id="jquery_183" type="text/javascript" class="library" src="/js/sandbox/jquery/jquery-1.8.3.min.js"></script>



<script type="text/javascript" src="jquery-1.11.0.js"></script>



</script>
<script type="text/javascript" src="http://sandbox.runjs.cn/uploads/rs/457/xronimgj/AlertMessage-1.3.js"></script>
</head>
<body>
<h2 style = "color:red">
您只需要一个小小的JS就可以完成以下功能,移动  IOS7弹出提示
</h2>
<button onclick="javascript:showMessage();">Alert提示</button>
<button onclick="javascript:showNotify();">Notify通知</button>
<button onclick="javascript:showConfirm();">Confirm确认框</button>
</body>
</html>


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值