新手问题 jquery-ujs 的 ajax:success 的参数为什么和文档上面的不一样?

kingwkb · March 23, 2013 · Last by Rei replied at March 23, 2013 · 2605 hits

文档上面明明写着 https://github.com/rails/jquery-ujs/wiki/ajax

ajax:success    [data, status, xhr] after completion, if the HTTP response was a success

In addition to normal jQuery Ajax "global" events

第一个参数是 event,表格内容是第二个参数起

You need to Sign in before reply, if you don't have an account, please Sign up first.