html
Html
code posted
by
Jack He
created at 16 Mar 10:37
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 |
<button id="alert-content" class="btn btn-primary" type="button">自定义内容的alert</button> <button id="alert-title-content" class="btn btn-primary" type="button">自定义标题和内容的alert</button> <button id="confirm-content" class="btn btn-primary" type="button">自定义内容的confirm</button> <button id="confirm-title-content" class="btn btn-primary" type="button">自定义标题和内容的confirm</button> <script> // 只提供内容的alert $('#alert-content').click(function(e){ $.alert('这里是消息内容 ...',function(){ }); }); |
489 Bytes in 2 ms with coderay