chtml LINK with POST method

hello guys, i trying to send an post method using chtml link to my controller which is event, how does my method actiondelete receive the POST message?

view:

CHtml::link("<span class=‘glyphicon glyphicon-remove’></a></span>",‘event/delete’,array(

                'submit' =&gt; array('event/delete'),


                'params' =&gt; array('id' =&gt; &#036;data-&gt;ID),


                'csrf' =&gt; true));

event controller

$_POST[‘id’];

If I understood right what U want to do, U should configurre clientChange in htmlOptions to suite your need. It’s submiting to given url via post by default (if link is not inside a form)

Check this :

http://www.yiiframework.com/doc/api/1.1/CHtml#link-detail

http://www.yiiframework.com/doc/api/1.1/CHtml#clientChange-detail