I’m trying to configure qTip2 to show up when i click a div.
It works only at the first click…
I have a sample here: http://jsfiddle.net/8qLXF/1/
The crazy thing is: I’m using the same configuration in other part of my project and it works fine.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You are applying the plugin to the element every time that element(
a) is clicked.You should do
$('...').qtip({..})to an element only once.You can use
.one()to bind a click event that will happen only once. Sample