HOW? ![]()
<?php
CHtml::ajaxLink('',
array('item/stoptrack', 'id' => $item->id),
array('type'=>'POST', 'success'=>"js:function(){ jQuery('#time_status_".($item->id)."').slideUp(function(element){ jQuery(element).remove(); }); }"),
array('class'=>'delete', 'title' => 'stop tracking')
)
and got 400 Http Error:
Bad Request
The CSRF token could not be verified.
The request could not be understood by the server due to malformed syntax.
Please do not repeat the request without modifications.