当前位置:网站首页>Sweet alert
Sweet alert
2022-08-09 09:20:00 【qq_35774189】
<html>
<head>
<title></title>
<script src="sweetalert-master/dist/sweetalert.min.js"></script>
<link rel="stylesheet" type="text/css" href="sweetalert-master/dist/sweetalert.css">
</head>
<body>
<button οnclick="foo()">Try me</button>
<script>
function foo()
{
swal({
title: "Success!",
text: "Here's my error message!",
type: "success",
confirmButtonText: "Cool"
});
}
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title></title>
<script src="sweetalert-master/dist/sweetalert.min.js"></script>
<link rel="stylesheet" type="text/css" href="sweetalert-master/dist/sweetalert.css">
</head>
<body>
<button οnclick="foo()">Try me</button>
<script>
function foo()
{
swal({
title: "Error!",
text: "Here's my error message!",
type: "error",
confirmButtonText: "cancel"
});
}
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title></title>
<script src="sweetalert-master/dist/sweetalert.min.js"></script>
<link rel="stylesheet" type="text/css" href="sweetalert-master/dist/sweetalert.css">
</head>
<body>
<button οnclick="foo()">Try me</button>
<script>
function foo()
{
swal({
title: "Error!",
text: "Here's my error message!",
type: "success",
confirmButtonText: "cancel"
});
}
</script>
</body>
</html>
边栏推荐
- 自动化测试框架有哪几种?搭建的思路是什么?一篇文章让你彻底了解自动化
- unittest测试框架原理及测试流程解析,看完绝对有提升
- MySQL Leak Check (4) Stored Procedures and Cursors
- Global 19 Google Satellite Map Free View Download
- QT sets the icon of the exe executable
- MySQL锁
- JMeter参数化4种实现方式
- Domestic Google earth, terrain analysis seconds kill with the map software
- 单元测试是什么?怎么写?主要测试什么?
- 一个项目的整体测试流程有哪几个阶段?测试方法有哪些?
猜你喜欢
本体开发日记05-努力理解SWRL(上)
Venture DAO Industry Research Report: Macro and Classic Case Analysis, Model Summary, Future Suggestions
如何用数组实现环形队列
绝了,这套RESTful API接口设计总结
软件测试的流程规范有哪些?具体要怎么做?
软件测试面试题目:请你列举几个物品的测试方法怎么说?
Ovie map computer terminal and mobile terminal can not be used, is there any alternative map tool
电脑硬件基础知识科普
makefile学习-解决目标文件输出路径问题
unittest测试框架原理及测试流程解析,看完绝对有提升
随机推荐
Teach you how to get a 0.1-meter high-precision satellite map for free
The era of Google Maps is over, how to view high-definition satellite image maps?
学习栈的心得和总结(数组实现)
What are the basic concepts of performance testing?What knowledge do you need to master to perform performance testing?
功能自动化测试实施的原则以及方法有哪些?
Domestic with Google earth software, see the download 19th level high-resolution satellite images so easy!
第三方免费开放API 获取用户IP 并查询其地理位置
MySQL Leak Detection and Filling (3) Calculated Fields
数据治理(四):数据仓库数据质量管理
“摄像头用不了”+win8.1+DELL+外置摄像头+USB免驱的解决办法
学习双向链表的心得与总结
这12个GIS软件一个比一个好用
Redis Basics
"The camera can't be used" + win8.1 + DELL + external camera + USB drive-free solution
银联最新测试工程师笔试题目,你能得多少分?
初窥门径代码起手,Go lang1.18入门精炼教程,由白丁入鸿儒,首次运行golang程序EP01
选择黑盒测试用例设计方法的综合策略方案总结
Anti App so层对抗分析
MVCC多版本并发控制
web测试之功能测试常用的方法有哪几种?有什么要点要注意?