$(document).ready(function () {
$.ajax({
type: "POST",
url: "/ajax/customcss",
data: {channel: currentChannel},
})
.done(function( data ) {
var jsonObj= JSON.parse(data);
console.log(jsonObj);
});
});
I get this error:
POST http://mywebsite.com/ajax/customcss 403 (Forbidden)
Which is a cross scripting error. Any ideas?