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();
});
精彩评论