代码之家  ›  专栏  ›  技术社区  ›  Superdooperhero

jquery.on和.u on之间有什么区别

  •  0
  • Superdooperhero  · 技术社区  · 6 年前

    jquery和jquery有什么区别 .on ._on ?

    当我搜索jqueryapi时,我只得到 。开

    $grid._on("click",".gridSave:not(.disabled)", self.saveRow, self);
    $grid.on("click",".gridSave.disabled", function(){ return false });
    
    1 回复  |  直到 6 年前
        1
  •  2
  •   Ramy M. Mousa    6 年前

    _on 来自 jqueryui widget _on .on normal jquery handler functions

    _on( [suppressDisabledCheck ] [, element ], handlers ) 将事件处理程序绑定到指定的元素。 通过事件名称内的选择器支持委派,例如。,