HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
AJAX Form
How would I have to do that? I want a module showing a form and on clicking the submit button, the form values should be posted to a pluginController_myRoutine_create($sender, $args) { // save input, return success message, and clean form. Is there any class="Popup" like thing for the method/action of the form or would I… -
Re: AJAX Form
You can make anything popup by simply adding the Popup class. Even things that don't normally popup like a form. By putting a button to click and a # link around the item you want to popup . Let's say you have made an extra page where you added the form you want, like my Contact plugin. Now I want to make that popup… -
Re: AJAX Form
-
Re: AJAX Form
This the file I use for the Contact plugin in case you are curious. Which lives in the core library for js files. jquery.gardenhandleajaxform.js (function($) { // This turns any form into a "post-in-place" form so it is ajaxed to save // without a refresh. The form must be within an element with the "AjaxForm" // class.… -
Re: AJAX Form
I've ended with this short script: $( ".BoxQuickDiscussion form" ).submit(function( event ) { event.preventDefault(); var elName = document.getElementsByName('QuickDiscussionName')[0]; var elBody = document.getElementsByName('QuickDiscussionBody')[0]; // Send the data using post var posting = $.post(… -
Re: AJAX Form
Alright then: when will 2.4 be released? :p I see you've used a jquery plugin called popin. So I guess I would have to write my own js and there is no easy way of reusing this and that. Do you have a hint what would be the theory behind doing what I want to do? By now I assume it would be a) a js that starts onclick b)…
6 results