|
Page Created :
WICKET :
Submitting AJAX forms with return
Submitting AJAX forms with return has been created by Arnout Engelen (Aug 04, 2008). Content:add an invisible submit link to the page: <input type="submit" style="display: none;"> add some _javascript_ to the form to hit the ajaxsubmitbutton when the form is submitted: form.add(new AttributeModifier("onSubmit", true, new Model("document.getElementById('" + ajaxSubmitButton.getMarkupId() + "').onclick();return false;"))); |
Powered by
Atlassian Confluence
(Version: 2.2.9 Build:#527 Sep 07, 2006)
-
Bug/feature request
Unsubscribe or edit your notifications preferences
Unsubscribe or edit your notifications preferences
