public
Created

  • Download Gist
gistfile1.js
JavaScript
1 2 3 4
var sendParam = function(p) {
// sends a GET request, no jQuery or wrapper needed
(new Image).src = '/my_route?p='+encodeURIComponent(p);
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.