Your Ad Here

Posted By

danwoods on 01/25/11


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

nerdfiles


Current Work


 / Published in: JavaScript
 

  1. function deletereceipt(id){
  2. var $delconfdialog = $('<div id="dialog-confirm"></div')
  3. .html('Are you sure you want to delete this receipt?')
  4. .dialog({
  5. autoOpen: true,
  6. title: 'Delete Confirmation',
  7. buttons: {
  8. "Delete": function(){
  9. $.post('Receipt.py',{'cm':'Delete','receiptid': obj},function(){
  10. $('#receiptrow'+id).remove();
  11. });
  12. $(this).dialog('close');
  13. },
  14. "Cancel" :function(){
  15. $(this).dialog('close');
  16. }
  17. }
  18. });
  19. }
  20.  
  21. //http://stackoverflow.com/questions/396439/radio-checkbox-alignment-in-html-css

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: danwoods on January 25, 2011

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

You need to login to post a comment.