Displaying 1 result from an estimated 1 matches for "delete_tag_link".
2013 Jan 16
0
Rails 3.2 jQuery JSONP request not working - Moved Permanently
...the solution, but I am stuck :
In my routes.rb
*namespace :administration* do
*resource :dashboards*, :only => :show do
collection do
*post :remove_tag_named*
end
end
end
In my view :
*= link_to t(:delete), "#", :id => :delete_tag_link*
# generated html => <li><a id="delete_tag_link"
href="#">remove</a></li>
my js.coffee script ( # this should be using JSONP I guess )
$(''*#delete_tag_link*'').bind "click", (e) ->
selected = $('...