how can i edit the action of the buttons in the dialog box in jquery?
- by noob
this code is from the demo of modal confirmation from jquery's site.
<script type="text/javascript">
$(function() {
$("#dialog").dialog({
bgiframe: true,
resizable: false,
height:140,
modal: true,
overlay: {
backgroundColor: '#000',
opacity: 0.5
},
buttons: {
'Yes': function() {
$(this).dialog('close');
},
…