Make <a> CHtml::AjaxLink

Just wondering what the format of my code would be if I converted this tag to CHtml::AjaxLink:


echo "<a class='asset_frame' href=''>";

    echo "Asset ID: ";

    echo "</a>";

I thought of maybe just adding an ajax reference in the href but when I did the url turned out to be jQuery.ajax{( or something similar so I wasn’t exactly sure of the format.


CHtml::ajaxLink('"Asset ID: ', 'url here', array(/*ajax optios here*/), array('class'=>'asset_frame'));

check the doc for further informations.

I have this ajaxlink being generated from a partial render in the controller which itself is called from a seperate ajax call… would that stop it generating?