Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8734621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:52:47+00:00 2026-06-13T09:52:47+00:00

I am using a script called Advanced Poll which is working great. However I

  • 0

I am using a script called Advanced Poll which is working great. However I have a small “cosmetic” problem, which I cannot solve.

The poll is located on the lower right side of my website. But after someone submits his or her vote, you are pushed back to the top of the page instead of focussing on the poll (lower right).

Normally with normal html you can fix this easily by adding an anchor point and a link, however because this is form, I don’t understand how to do it correctly. So it ‘reloads’ the page back at the poll section after submitting a vote, instead of scrolling down again.

I tried fooling around a bit with the HTML myself, however no luck. It starts back at the top of the website, instead of staying around the poll-area.

I added the code below, above the poll section:

<a name="backtopoll"></a>

And I added:

 #backtopoll

to:

<a href="$this->form_forward?action=results&amp;poll_ident=$poll_id" class="link link-indent fright">$pollvars[result_text]</a>

Which results in:

 <a href="$this->form_forward?action=results&amp;poll_ident=$poll_id#backtopoll" class="link link-indent fright">$pollvars[result_text]</a>

But that didn’t work. As soon as I click on submit vote, my vote is cast and I find myself back at the top of the website again, instead of reloading the page at the poll-section. 🙁

What am I doing wrong here…?

//update

Adding / changing it to:

 <a id="backtopoll"></a>

As Sibu stated, didn’t work.

//anotherupdate

Maybe I can do the same with jQuery or JS on the page?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T09:52:48+00:00Added an answer on June 13, 2026 at 9:52 am

    Nevermind I fixed it myself by using the information described here: Is it possible to add an anchor to a FORM post/get?

    <form action="mypage.aspx#MyAnchor">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Suppose I have a python script called my_parallel_script.py that involves using multiprocessing to parallelize
I have the following problem: A PHP Script is called via Ajax. The script
I have an awk script which is called by: awk -f myawkfile.awk arguments The
I have a strange issue using remoting with Powershell. I have a script called
I am using pdb to examine a script having called run -d in an
I'm using the following script to request new content to a file called index.html:
I am using a script which generate a collection of strings in a loop:
I'm using a script which is calling (via sh.run) net use. On the first
Am creating a script using JQuery on an ASP.NET page. Have a JSON string
I have PEAR Mail and Mail_mime all working very nicely using gmail's SMTP server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.