How can I set up a node form to submit via AJAX?

I can't find examples that show how to do this explicitly. I am trying to run AJAX submission in a popup window.

After adding use-ajax-submit, the request starts correctly, but after saving the node it redirects to the node page and everything crashes.



Browse other questions tagged or ask your own question.