Hey,
I'm doing something similar to this example:
http://examples.ractivejs.org/comments
I'm having a problem because my comment form submit button gets set to
"working..." and disabled. I sort of like it but I'd like to be able to
re-enable it.
What I have tried to do is, in the bottom of my ractive.on.('post' handler,
I placed this:
// reset the form
event.node.reset();
var submit_button = $(event.node).find($.web2py.formInputClickSelector);
$.web2py.enableElement(submit_button);
I have also tried to use jquery off to remove web2py's event handler but
I'm not being able to do it for some reason.
What's going wrong here?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.