If I am using jQuery, I won't be too much worried about it.
BTW nice catch !!
On Dec 18, 2013, at 9:34 PM, George Christman wrote:
> Taha, firing $("#form").trigger('submit'); seems to remember my
> original submit action. Should I be wary of this with other browsers?
>
> example
>
> define(["
Taha, firing $("#form").trigger('submit'); seems to remember my
original submit action. Should I be wary of this with other browsers?
example
define(["jquery", "bootstrap/modal"], function($) {
int = function(spec) {
var $field = $("#" + spec.id);
$field.bind("click", functio
No, there is unfortunately 4 submit buttons. :(
On Wed, Dec 18, 2013 at 10:30 AM, Taha Siddiqi wrote:
> If there is only one submit button, you can also use form's own context
> parameter. that way you just have to call form.submit() from the javascript.
>
>
> On Dec 18, 2013, at 8:46 PM, Georg
If there is only one submit button, you can also use form's own context
parameter. that way you just have to call form.submit() from the javascript.
On Dec 18, 2013, at 8:46 PM, George Christman wrote:
> I guess that would work, I wish there was a way to reconstruct the
> original submit button
I guess that would work, I wish there was a way to reconstruct the
original submit button in js.
On Wed, Dec 18, 2013 at 9:56 AM, Lance Java wrote:
> You could use 2 buttons (one hidden).
> Hide the original form submit button and show a button that fires the
> modal. The modal somehow fires a cl
You could use 2 buttons (one hidden).
Hide the original form submit button and show a button that fires the
modal. The modal somehow fires a click event on the hidden submit button.
Hello, I'm using 5.4 and a custom mixin on my submit actions which is
used to trigger the bootstrap modal popup. My popup does nothing other
than provide warnings to the user prior to form submission. I'm trying
to figure out how to submit the form from my modal popup with the
original submit butto