我有以下jquery代码:
<script type="text/javascript">
$(document).ready(function() {
$(".deleteuser").click(function(){ return confirm("Are you sure you want to delete this user?")});
});
</script>
Run Code Online (Sandbox Code Playgroud)
我希望能够在确认对话框中加粗文本...所以类似于:(伪代码)
$(".deleteuser").click(function(){ return confirm("Are you sure you want to delete this user? <b>Note:</b> It can't be undone!")});
Run Code Online (Sandbox Code Playgroud)
谢谢!
| 归档时间: |
|
| 查看次数: |
2661 次 |
| 最近记录: |