$("#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!!!
精彩评论