[jQuery] Re: Form Submit does not Submit Data but its Callback Function works

2008-11-13 Thread Martin Möller
Thank you Guys. I got it to work now with following Code, maybe it helps somebody out there with a similar NyroModal Problem: Does not work( Removes the Modal but still does not fire the Submit() ) ("#form-config-content-make").submit(function() { top.$.nyroModalRemove(); return true; })

[jQuery] Re: Form Submit does not Submit Data but its Callback Function works

2008-11-12 Thread Mike Alsup
> $(".form-config-content-make-button").click(function() { >         $("#form-config-content-make").submit(top.$.nyroModalRemove());       > > }); That's not a "callback" function, it's a "call me right now" function because you've included the paretheses.

[jQuery] Re: Form Submit does not Submit Data but its Callback Function works

2008-11-12 Thread Hector Virgen
It may be better to observe form's submit event instead of the buttons. This fires the event no matter how the form was submitted (for example, press "enter" when an input field is focused). ("#form-config-content-make").submit(function() { top.$.nyroModalRemove(); return true; // submits t