How do I get send in my controller? This is what, I have tried out:
Ajax
$.ajax({ type: \"POST\", url: \"e
Seems that you don't send your data properly. Try this:
$.ajax({ type: "POST", url: "example/name", data: {send: send}, success: function(value) { } });
In this case you will be available as $_POST['send'].
$_POST['send']