javascript - I get this message "Object [object Object] has no method 'on' -
this question has answer here:
i message:
"object [object object] has no method 'on' "
to code
$(window).on('resize', function () { self.setdimensions(); }); what can do? have jquery 1.9...
make sure use @ least jquery version 1.7
prior 1.7, can replace .on() .bind() (if you're not using event delegation).
the best upgrade lastest jquery version - 1.9 atm.
Comments
Post a Comment