Hi
How to pass variable on a link using CJuiDialog.
In my code i want to pass clId in to the new dialog box.
<?php
$createUrl = $this->createUrl(’/CRM/default/CreateContact’,array(“asDialog”=>1,“gridId”=>‘address-grid’,
array(‘clId’=>$value[‘clId’])));
echo CHtml::link(‘Create Contact’,’#’,
array(‘onclick’=>"$(’#cru-frame’).attr(‘src’,’$createUrl ‘); $(’#cru-dialog’).dialog(‘open’);"));
?>