Add jQuery colorbox plugin to a dynamically created element, extra problem.
Posted
by PapiChuloMX
on Stack Overflow
See other posts from Stack Overflow
or by PapiChuloMX
Published on 2010-05-18T18:04:24Z
Indexed on
2010/05/19
8:40 UTC
Read the original article
Hit count: 136
I saw the answer of a question: http://stackoverflow.com/questions/2443490/add-jquery-colorbox-plugin-to-a-dynamically-created-element
Solve part of the problem, works fine, but when I click for second time, it doesn't work. When I try to click for second time an error displays: $.fn.colorbox is not a function. How can i correct that error and avoid a double click to bind colorbox.
I don't speak english, i did my best to write this words, i hope you can read me. Thanks.
© Stack Overflow or respective owner