“Uncaught TypeError: Cannot use 'in' operator to search for 'length' in ” triggered by Datatables plugin and jQuery 1.11.3

后端 未结 8 1165
北恋
北恋 2021-02-12 13:17

I\'m using the jQuery Datatables plugin to enable pagination, sorting and searching with my tables. The elements are showing up but not working, and the pagination only sometime

8条回答
  •  忘了有多久
    2021-02-12 13:52

    I'm working on Ruby on Rails with gem jquery-datatables-rails.

    I update the gem directly from the last commit on GitHub:

    gem 'jquery-datatables-rails', github: "rweng/jquery-datatables-rails", branch: "master"
    

    This work for me, I suppose that that they will release soon a new version of the gem with this commit.

提交回复
热议问题