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

318
Views
¿Cómo hago para que cuando el usuario haga clic en un botón, la página se desplace a un cierto div?

Mi problema es muy simple. Estoy usando ASP.net para crear un sitio web y quiero que la página se desplace hacia abajo en un cierto div cuando el jugador activa un botón. El botón tiene código C# detrás, por lo que cualquier solución con C# es bienvenida. Ya intenté usar hash en el botón para ir al div href="#divID" pero sin éxito. ¿Qué otras soluciones podría probar? El boton html es el siguiente

 <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" Visible="true" Style="display: none" />

Y el div:

 <div ID="Results" class="container" style="margin-top: 300px;height: 250px;text-align: center;box-shadow: inset 10px 14px 15px 11px rgb(197,197,197);">
about 4 years ago · Juan Pablo Isaza
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!