ajaxLink

This ajaxLink I used Yii-1.0.11 and working fine.

<?php echo CHtml::ajaxLink(‘show’,array(‘update’,‘id’=>$model->id),array(‘success’=>"function(data) {

				  		      	&#036;.prompt(data, {


				  		      		buttons: {Cancel: true } }) }&quot;)); ?&gt;

Now I need to know how to write ajaxLink in Yii-1.1.

array(

      'name'=&gt;'Action',


      'type'=&gt;'raw',


  'value'=&gt; 'CHtml::ajaxLink(&quot;show&quot;',array(&quot;update&quot;,&quot;id&quot;=&gt;&#036;data-&gt;id),array(&quot;success&quot;=&gt;&quot;function(data) {


				  		      	&#036;.prompt(data, {


				  		      		buttons: {Cancel: true } }) }&quot;))',


	),

THis is now working. I don’t understand where is the problem.

as per documentation success will override any other ajax option passed.