开发者

jquery select live onchange

I'm adding a select box to a form by cloning the current table row, and then doing

currentRow.after(newRow);

Q: Using the .live method, how do I test to see开发者_JAVA技巧 when the new select option has changed?


$('table select').live('change',function(){
    var select = $(this);
    var newVal = select.val();
});
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜