rails 3.2 check_box_tag jquery submit as get

14 views
Skip to first unread message

Me

unread,
Oct 6, 2012, 5:33:12 PM10/6/12
to rubyonra...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages