开发者

Fancy captcha jquery - drop event

I am trying to use the drop event of fancy captcha (http://www.webdesignbeach.com/beachbar/ajax-fancy-captcha-jquery-plugin) but it never fires. This is the code (without any change from the website:

$("#ajax-fc-circle").droppable({
    drop: function(event, ui) {

        $(".ajax-fc-" + rand).draggable("disable");
        $("#" + options.formId).append("<input type=\"hidden\" style=\"display: none;\" name=\"captcha\" value=\"" + rand + "\">");
    },
    tolerance: 'touch'
}); 
}; 

The drop event is never fired. H开发者_如何学Pythonas anyone had any experience with fancy captcha?


I found the solution to this one. There is a problem with fancy captcha and latest jQuery libraries. My project was referencing the latest library from Google API. I just changed it to reference to 1.3.1 and the event fires correctly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜