How to Set jump prompt statements in the CI framework

Source: Internet
Author: User
In the CI framework, how do I set the prompt statements for redirection? Create a registration page, jump to the homepage after registration, and use redirect ('/index. php ', 'location'); now I want to add a "registration successful" prompt after the registration is successful and then go back to the home page. what should I do ?, We will discuss how to set up a prompt statement to jump to the homepage after registration in the CI framework?
Create a registration page, jump to the homepage after registration, and use redirect ('/index. php', 'location ');

Now I want to add a "registration successful" prompt after the registration is successful and then go to the homepage. what should I do?

------ Solution --------------------
Discussion
Create a registration page, jump to the homepage after registration, and use redirect ('/index. php', 'location ');

Now I want to add a "registration successful" prompt after the registration is successful and then go to the homepage. what should I do?

------ Solution --------------------
Discussion

Reference:
Create a registration page, jump to the homepage after registration, and use redirect ('/index. php', 'location ');

Now I want to add a "registration successful" prompt after the registration is successful and then go to the homepage. what should I do?


Therefore, the form cannot be submitted. you must listen to the onsubmit event and submit the form using ajax. after the successful submission, JS sets the page content to prompt the jump to N seconds, and setTimeout a few seconds later. href jump. ......

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.