Good morning. I have a div that when clicked opens a page. So far so good and it's working.
Now as I do so that when the user hover over this DIV, a popover with the message "To edit click here" appears.
My code looks like this:
<div class="card-body card-padding container editar">
meu conteudo xxxxxxxxxxxx
</div>
When I click on this div, I have a javascript that opens the page I want:
<script type="text/javascript">
$(document).ready(function () {
document.querySelector('.editar').onclick = function(){
window.location = 'http://minhapagina.com';
}
});
</script>
I'm sorry for the silly question ... how do I do when to move the mouse, popover appears?
Thank you