私はdropdown
このようなリストを持っています
<?php echo $form->dropdownList($customers,'customer_name', CHtml::listData(Customers::model()->findAll(), 'id', 'customer_name'),
array(
'ajax'=> array(
'type'=>'GET',
'url'=>
'data'=>
),
'empty'=>--Select One---')); ?>
を作成するための別のリンクnew customer
は次のようなものです
<?php echo CHtml::link('Create Customers', "",array(
'style'=>'cursor: pointer; text-decoration: underline;',
'onclick'=>"{addCustomers(); $('#dialogCustomers').dialog('open');}"));?>
をcreate customer link
中に入れる必要がありますdropdown list
。配置方法create customer link inside the dropdown list
、両方のリンクをマージして単一のリンクに作成する方法は?