jquery获取动态生成的select选中事件

$("body").on("change",".mywlgs",function(){
    var x = $(this).data('xh');
    console.log(x);
    console.log($(this).val());
});

保留自用

猜你喜欢

转载自blog.csdn.net/qq_29712303/article/details/88167605