Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

$.ajax how to read data vale in controller in rails

$.ajax({
  type:"GET",
  url:"books/test",
  dataType:"json",
  data: {some_parameter: 'hello'},
  success:function(result){
    alert(result);
  }
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #read #data #vale #controller #rails
ADD COMMENT
Topic
Name
2+9 =