Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
bind txpAsyncForm to button in jquery ui dialog
Hello,
don’t if this is possible. What i’m trying to do is :
a form is loaded dynamically in a jquery ui dialog (all this is happening on admin side)
Instead of having the submit button inside the form, i want to use the buttons
functionality of the dialog ui.
Therefore the button type “submit” does not reside inside the form …
What i want is take advantage of the already defined jQuery.fn.txpAsyncForm
to async-submit this form.
First : is it possible ?
Second : i can’t find how to do it !
Thanks for any advice
Offline
Re: bind txpAsyncForm to button in jquery ui dialog
Don’t know if it works asynchronously, but you could try the form
attribute:
<input type="submit" form="your_form_id" />
Offline
Re: bind txpAsyncForm to button in jquery ui dialog
@etc :
It worked perfectly. Thanks a lot
Offline