当input中的内容改变时触发的事件

当input中的内容改变时触发的事件

1
$('#id').bind('input propertychange', function() { 2 //处理内容 3 }

1 循环js事件
2 $(document).on('click','.class',function(){
3      _index=$('.class').index(this)+1;    
4     $('#class'+_index);//拿到触发该事件的对象
5  });
原文地址:https://www.cnblogs.com/-lpf/p/5217923.html