Notice the format.js in the respond_to block: that allows the controller to respond to your Ajax request. You then have a corresponding app/views/ ...
確定! 回上一頁