Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

117
Views
How to prevent anchor with query string from reloading page

How do I prevent anchor to reload page when there are query strings included in URL. Below is link which reloads page before redirecting to section directly.

<a href="https://iamhoste.com/experiences/?in-home-chef-experiences/#explore">Explore Experiences</a>

Clicking on this link reloads page and then redirect to section (#explore). Is there anyway I can prevent reloading.

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

<section id="explore">
  ...
</section>
.
.
.
<div>
  <a href="#explore">The section you want to explore</a>
</div>
This may help you to jump to your desired section without any headache of reloading

about 4 years ago · Juan Pablo Isaza Report

0

Add a 'target' attribute to the anchor tag and write "_blank" in it, for example : target = "_blank"

in your case : <a href="https://iamhoste.com/experiences/?in-home-chef-experiences/#explore" target="_blank">Explore Experiences</a>

as per my knowledge this should work

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!