im trying to pass verible to JuiDialog and cold not make it (trying to pass the $ss)
my view:
<?php
echo CHtml::button('create new activity', array(
'onclick'=>'$("#dialog-animation").dialog("open");',
'submit'=>array('ss'=>'123'),
));
?>
<?php
/**Start Widget **/
$target = 'window.location='."'".$this->createUrl('site/contact')."'";
$this->beginWidget('zii.widgets.jui.CJuiDialog',array(
'id'=>'dialog-animation',
'options'=>array(
'title'=>'Dialog box - Animation',
'autoOpen'=>false,
'show'=>array(
'effect'=>'blind',
'duration'=>1000,
),
'buttons' => array(
array('text'=>'Route','click'=> 'js:function(){'.$target.'}'),
array('text'=>'Cancel','click'=> 'js:function(){$(this).dialog("close");}'),
'hide'=>array(
'effect'=>'explode',
'duration'=>500,
),
),
)));
echo $this->renderPartial('_renderpage', array('day'=>date('w'),'timecode'=>$_GET['ss']));
$this->endWidget('zii.widgets.jui.CJuiDialog');
/** End Widget **/
thenks for the helpers