开发者

Fancy captcha jquery - drop event

开发者 https://www.devze.com 2023-02-15 04:57 出处:网络
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:

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

精彩评论

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

关注公众号