¡@

Home 

2014/10/16 ¤W¤È 12:02:44

jquery Programming Glossary: currentform

Using jquery ui dialog to confirm action for form submission

http://stackoverflow.com/questions/2420773/using-jquery-ui-dialog-to-confirm-action-for-form-submission

confirm' .dialog 'open' jquery confirm share improve this question You can store it in a variable like this var currentForm #dialog confirm .dialog resizable false height 140 modal true buttons 'Confirm submit' function currentForm.submit Cancel.. this var currentForm #dialog confirm .dialog resizable false height 140 modal true buttons 'Confirm submit' function currentForm.submit Cancel function this .dialog 'close' '.allForms' .submit function currentForm this '#dialog confirm' .dialog.. 'Confirm submit' function currentForm.submit Cancel function this .dialog 'close' '.allForms' .submit function currentForm this '#dialog confirm' .dialog 'open' return false Since you're just using this and immediately just leaving the page no..

jquery dialog: confirm the click on a submit button

http://stackoverflow.com/questions/2881706/jquery-dialog-confirm-the-click-on-a-submit-button

dialog using jquery but the form doesn't get submitted at all this is what I got script type text javascript var currentForm function #dialog confirm .dialog resizable false height 140 modal true autoOpen false buttons 'Delete all items' function.. #dialog confirm .dialog resizable false height 140 modal true autoOpen false buttons 'Delete all items' function currentForm.submit this .dialog 'close' Cancel function this .dialog 'close' function ask currentForm this .closest 'form' #dialog.. all items' function currentForm.submit this .dialog 'close' Cancel function this .dialog 'close' function ask currentForm this .closest 'form' #dialog confirm .dialog 'open' script form ... input type submit value delete onclick ask return false..