Hi,
I'm trying to reload tabstrip tab when i use POST variable like that:
I reload with this line :
When i don't pass POST variable, this reload work, but with this exemple it doesn't work and i don't get any error,
If someone have an idea please ?
I'm trying to reload tabstrip tab when i use POST variable like that:
$("#tabstrip").kendoTabStrip({
animation: { open: { effects: "fadeIn"} },
contentUrls: [
'./point_singulier/ajax/photos.php',
'./point_singulier/ajax/plans.php',
'./point_singulier/ajax/materiel.php',
{
url: './point_singulier/ajax/pilotage.php',
cache: true,
method: "POST",
data:{
longitude_pts:obj.LONGITUDE,
latitude_pts:obj.LATITUDE
}
}
],
select: onSelect,
}).data('kendoTabStrip');
$('#tabstrip').data().kendoTabStrip.reload("li.k-state-active");
When i don't pass POST variable, this reload work, but with this exemple it doesn't work and i don't get any error,
If someone have an idea please ?
I tried adding this in my php file to test, no result ... :
if ( 'POST' != $_SERVER['REQUEST_METHOD'] ) { header('Allow: POST'); header('HTTP/1.1 405 Method Not Allowed'); header('Content-Type: text/plain'); echo "only allow post"; exit; }