How To Pass Another Field Value To Creareurl ?

Hello,

I wanted to pass ‘id’ of record from stored hidden field . How can I achieve this? please help.

like,

Yii::app()->createUrl(“user/hotCases/getMatchProperties”, array(“id”=>“function() { $(’#modelId’).val();}”,“locationGroupSearch”=>1));

does not work. Its taking it as string not js.

Any idea how I can get the field value of modelId in there?

Thanks a lot!