How can I return to the selection page for an AJAX voting webpage?

Source: Internet
Author: User
How does an AJAX voting webpage return to the selection page ?? I made an AJAX vote based on what I wrote on this website and put it in a DIV on the homepage of my website. Http://www.php100.com/manual/w3school/php/php_ajax_poll.asp.htmlbut how can I return to the selection page through the AJAX voting page ??
I made an AJAX vote based on what I wrote on this website and put it in a DIV on the homepage of my website.
Http://www.php100.com/manual/w3school/php/php_ajax_poll.asp.html

However, after voting, no connection is returned after the DIV shows the voting result. I want to have a return connection in the voting result and return the voting option, while the page still does not jump.

How can we achieve this ???

------ Solution --------------------
"After the voting result is displayed in DIV ;"
This is the key. back up data, add "return", and update the result.

------ Solution --------------------
In this example, get is used,
The returned result is in html format.
Your unreturned results:
Is your JS function incorrect.

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.