Just a quick one. I'm trying to fetch the data for the tip using ajax, but the data I'm trying to send in the POST request is not being received on the server side. Here's the code:
var tip = new Opentip(
$(this),
{
target: true,
tipJoint: "right",
background: "white",
borderColor: "lightgray",
showOn: 'creation',
hideOn: 'click',
ajax: translations_url, // is valid url
ajaxMethod: 'POST',
data: {
meaning_id: meaning_id,
_token: token,
html: true
}
}
);
Just a quick one. I'm trying to fetch the data for the tip using ajax, but the data I'm trying to send in the POST request is not being received on the server side. Here's the code:
Help would be greatly appreciated.