How To Make Ajax Call In Cmenu?

Hi,

Does somebody know how to do this or could you point me to the right direction?

I’d like to make an ajax call from CMenu. I’ve tried different setting for the linkOptions like this in here http://www.yiiframework.com/doc/api/1.1/CMenu#c8495 but could not make it work.

Any help is greatly appreciated. Thanks…

I’m not going to answer your question, but i would give one recommendation, bootstrap extension have a better menu and easy integration with ajax.

http://www.yiiframework.com/extension/bootstrap/

Thanks for the suggestion. I ended up creating a delete view. Works for me for now.

Another solution: the extension ajaxmenu extends CMenu with the ajax feature