回答編集履歴
1
追記
    
        answer	
    CHANGED
    
    | 
         @@ -12,4 +12,7 @@ 
     | 
|
| 
       12 
12 
     | 
    
         
             
            }).fail(function(jqXHR, textStatus, errorThrown){
         
     | 
| 
       13 
13 
     | 
    
         
             
              // エラーの場合処理
         
     | 
| 
       14 
14 
     | 
    
         
             
            });
         
     | 
| 
       15 
     | 
    
         
            -
            ```
         
     | 
| 
      
 15 
     | 
    
         
            +
            ```
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            - RailsでAjax基本形 [http://qiita.com/mm36/items/684f36f22e79d0a27ae9](http://qiita.com/mm36/items/684f36f22e79d0a27ae9)
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     |