I'm in need of fixing some 2i by hand in Riak 1.4+. I've installed rekon for a sake of use, and now I'm editing template. All I want to do is just add some $.ajax onclick like this:
$.ajax({
url: $(pairUrl).attr('url'),
type: "POST",
headers: {
x-riak-index-type_bin: '1'
},
dataType: 'json' });
But it's not working. Is it even possible with jQuery ajax?