I am having a problem on a WordPress site. I have a function which slides down a certain <div>
. It is:
jQuery(function($){
$(document).on('click','.tb_usertask_title',function(){
var title = $(this);
var key = title.data('key');
var msg = $('#tb_msg_'+key);
msg.slideDown('fast');
}
});
After executing this function, the <div>
slides up again immediately. I think this might be due another script, but I have absolutely no idea how to find which function does this. Is there any way of finding this out? Things I have tried:
onclick
event, but this only showed my function.These didn't work for me. I also searched for a way to do a function backtrace in Firebug, but without any success.