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

456
Views
How to open modal window on hover over HTML element?

I have a modal window (display: none) and I need to display it on hover over a label.

How can I do this?

HTML

 <div class="container"> <div class="modalTipo" id="loginModal" > <div class="modal-content2"> <div class="row"> <table style="background-color:#F3F3F3;color:green;"> <tr> <td class="col-md-4" style="background-color:#F3F3F3;color:green"> <span> AfirmeNet </span> </td> <td> <input type="radio" id="rPersonas"></td> <td><label class="form-check-label" for="flexRadioDefault1">Personas</label></td> <td>&nbsp;&nbsp;</td> <td><input type="radio" id="rEmpresas" > </td> <td><label class="form-check-label" for="flexRadioDefault1">Empresas </label> </td> </tr> <tr> <td class="col-md-4" style="background-color:#F3F3F3;color:green"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></td> <td colspan="2"><input type="text" placeholder="Personas" /></td> <td>&nbsp;&nbsp;</td> <td colspan="2"> <input type="submit" value="Entrar" class="btn btn-success" /></td> </tr> </table> </div> </div> </div>

JS

 function MostrarLoginModal() { $('#loginModal').show(); }
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

The event I needed is MouseOver.

Add these lines to my JQuery code:

 $("#_menu").mouseover(function () { $('#loginModal').show(); });
over 4 years ago · Santiago Trujillo 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!