Skip to content

Instantly share code, notes, and snippets.

What would you like to do? Ajax Example
// The following example POSTS data to, redirects the user to a confirmation page, and then sends an email (upon the successful completion of Recaptcha verification)
$.post('', {
email: '',
_subject: 'hi!',
message: 'Test'
}).then(function () {
location.href = ''

This comment has been minimized.

Copy link

availit commented Apr 3, 2018

Is there any way you could add a feature that allows you to set the _after (redirect) url in a query string parameter for use with Ajax submissions?

For example:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.