/ Published in: JavaScript
Expand |
Embed | Plain Text
function deletereceipt(id){ var $delconfdialog = $('<div id="dialog-confirm"></div') .html('Are you sure you want to delete this receipt?') .dialog({ autoOpen: true, title: 'Delete Confirmation', buttons: { "Delete": function(){ $.post('Receipt.py',{'cm':'Delete','receiptid': obj},function(){ $('#receiptrow'+id).remove(); }); $(this).dialog('close'); }, "Cancel" :function(){ $(this).dialog('close'); } } }); } //http://stackoverflow.com/questions/396439/radio-checkbox-alignment-in-html-css
Comments
Subscribe to comments
You need to login to post a comment.

Current Error:
uncaught exception: [Exception... "Illegal operation on WrappedNative prototype object" nsresult: "0x8057000c (NSERRORXPCBADOPONWN_PROTO)" location: "JS frame :: http://edison.xmsolution.com/dan/rsu/js/jquery-1.4.min.js :: f :: line 132" data: no]
Line 0