Yii Framework Forum: Dropdown Onchange Event - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Dropdown Onchange Event Rate Topic: -----

#1 User is offline   kiranjv 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 10-April 13

Posted 19 April 2013 - 01:32 PM

Hi,

I have table called employer which contains employercode coloumn,

this is my dropDown field

<?php
echo CHtml::dropDownList('EmployerJobs[Employer_JobsJobCode]', $candidate_shortlist,
array(
'CODE0101' => 'CODE0101',
'CODE0202' => 'CODE0202'
),
array('name' =>'EmployerJobs[Employer_JobsJobCode]','class'=>'sel_cntry sel_option sel sel_date','id'=>'shrtlst_candt_jobcode','empty' => 'Please select'),
array('onChange' => 'submit')
); ?>

if the employerjobcode column contains code in dropdown, it should retrive particular row

i need help for onchange event.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users