How To Call Action In Cjuidialog ?

Dear friends,

show dialog like this.

<?php echo CHtml::link('detail', '#', array(

				   'onclick'=>'$("#mydialog").dialog("open"); return false;',

				)); ?>




    // additional javascript options for the dialog plugin






    echo 'dialog content here';



But there is any ways that when we click to link, it will call the controller and display in dialog ?

thankyou very much

Please use ajaxLink and then you can call the controller action and render your dialog box accordingly.

Use one variable and store link in to that variable then replace # with that variable.