小编Tyt*_*yth的帖子

Calling class methods within jQuery function

So I have some javascript class and in one method I use jQuery to bind function to click event. And within this function I need to call other methods of this class. In usual js function I did it through "this.method_name()", but here, I guess, jQuery redefines "this" pointer.

javascript jquery

3
推荐指数
1
解决办法
2万
查看次数

标签 统计

javascript ×1

jquery ×1