This jquery ajax call always submits as a get even though it is a put
request. Ideas why?
jQuery ->
$(".activity_status").click ->
#alert person_id
$.ajax ->
type: ‘PUT’
url: “/answers/”
data: “person[id]=”+person_id
This jquery ajax call always submits as a get even though it is a put
request. Ideas why?
jQuery ->
$(".activity_status").click ->
#alert person_id
$.ajax ->
type: ‘PUT’
url: “/answers/”
data: “person[id]=”+person_id
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs