Object has no method 'live' - jQuery

后端 未结 7 2184
小鲜肉
小鲜肉 2020-12-10 00:24


        
7条回答
  •  佛祖请我去吃肉
    2020-12-10 01:08

    .live() is a deprecated function (from 1.7+) and removed completely from jQuery 1.9+.

    You can instead use .on() or .bind() methods:

    http://api.jquery.com/on/
    http://api.jquery.com/bind/

提交回复
热议问题