Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirecting? #421

Open
eetuhal opened this issue Jan 10, 2022 · 4 comments
Open

Redirecting? #421

eetuhal opened this issue Jan 10, 2022 · 4 comments

Comments

@eetuhal
Copy link

eetuhal commented Jan 10, 2022

After submitting the form I got {"result":"success","data":"{"msg":[""],"name":[""],"email":[""]}"}. How do I redirect to the original page with url?

@eetuhal
Copy link
Author

eetuhal commented Jan 24, 2022 via email

@AidanTheBandit
Copy link

After following those steps I cant seem to make it no redirect

@bledatunay
Copy link

Download the repo, open up test.html and submit a form. If that works, you are indeed missing something in your project. If that is not working as well, it should be related to your browser / extensions (some ad-blocker filters are known to block ajax calls).

Note that, what README.md explains and what ajax does has nothing to do with redirecting per se - json is not somehow redirected to the main page, instead, we are not leaving the page in the first place by using ajax. So you might want to reconsider what you're trying to accomplish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants