开发者

In Chrome, while selecting the selectbox the jquery event is not fired

$("#form_field_field_type").live(开发者_如何学运维"click", function() {
    console.log("I reach over here");
});


It seems to work to me. This demo shows that clicking the <select> will clone the first one and prepend it to <body>.


I got the idea... You can fire the change event instead of the click event, so use the following code;

$("#form_field_field_type").live("change", function() { console.log("I reach over here"); });

I hope it will work it out!!!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜