开发者

rails paginate ajax/jquery

开发者 https://www.devze.com 2023-03-24 05:05 出处:网络
I\'m following Railscast 240: http://railscasts.com/episodes/240-search-sort-paginate-with-ajax .getScript() seems to be calling but nothing changes whatsoever. Any ideas on why? I\'m looking at the

I'm following Railscast 240: http://railscasts.com/episodes/240-search-sort-paginate-with-ajax

.getScript() seems to be calling but nothing changes whatsoever. Any ideas on why? I'm looking at the request in Network and it seems t开发者_如何学Co be asking for the proper thing.

Request URL:http://localhost:3000/user?page=2&_=1312237300119
Request Method:GET
Status Code:200 OK


Are you using JQuery or Prototype? Make sure you are using JQuery. Not Prototype which is included with Rails 3.0.x

A second thing: it is

$.getScript()
0

精彩评论

暂无评论...
验证码 换一张
取 消