tr.append($("<td/>").html('<input type="text" name="unit_price" id="unit_price"/>'));
这是我的动态生成文本框,我尝试了很多解决方案,像下面这样的,但它们都无效,请帮帮我,各位极客。
$("#unit_price").live("keyup", function(){
//Your Code to handle the click.
});
$(staticAncestors).on(eventName, dynamicChild, function() {});