Hi All
I’m working on FullCalendar and I want to send request to a php page via ajax the problem is Ajax sends the request I can see it via Developers Tools and alert it is as expected but the PHP page the value is null I can not understand why ???
[CODE]
eventClick: function(event, jsEvent) {
$(“#eventID”).val(event.id);
event.id = $(‘#eventID’).val();
$.ajax({
url: ‘http://localhost/CRM/calUserList.php’,
data: ‘id=’+ event.id,
type: “POST”,
success: function(json) {
alert(‘id=’+ event.id);
}
});
[code=php]$id = $_POST[‘id’];
echo $id;
var_dump ($_POST);[code=html]<input id=”eventID” type=”text”>