Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jQuery function not firing within modal #168

Open
nmoore2 opened this issue Jan 3, 2018 · 1 comment
Open

jQuery function not firing within modal #168

nmoore2 opened this issue Jan 3, 2018 · 1 comment

Comments

@nmoore2
Copy link

nmoore2 commented Jan 3, 2018

Couldn't get any jQuery functions to fire within the modal.

<a href="#" class="tool-tip">Hover over me</a>

$(document).ready(function(){ $('.tool-tip').hover(function() { console.log('this doesnt fire'); });

This code works fine outside of the modal html just fine

@lars-1
Copy link

lars-1 commented Jan 24, 2018

Try to put this in "onOpened":
$('#modal').iziModal({onOpened: function (){ //here }});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants