Home > Web Front-end > JS Tutorial > body text

Yii-custom delete confirmation pop-up box (zyd) jquery implementation code_jquery

WBOY
Release: 2016-05-16 17:41:03
Original
1342 people have browsed it
1. Link
Copy code The code is as follows:

'c_06c','onclick'=>'return art_del_confirm("/ company/msglog/delete/id/'.$data->zml_id.'","Are you sure you want to delete this message? ")'))?>

2.jq
Copy code The code is as follows:

<script> <br>//Single item deletion confirmation box<br>function art_del_confirm(url,message){ <br>message = message?message:'Are you sure you want to delete this data? '; <br>art.dialog({ <br>title: 'Confirm deletion', <br>okValue: 'Confirm', <br>cancelValue: 'Cancel', <br>width: 230, <br>height: 100, <br>fixed: true, <br>content: message, <br>ok: function () { <br>window.location.href=url; <br>return true; <br>}, <br> cancel: function () { <br>return true; <br>}, <br>}); <br>} <br></script>

Rendering
Yii-custom delete confirmation pop-up box (zyd) jquery implementation code_jquery
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template