我是yii的初学者。有没有办法让一个按钮显示一个模式弹出窗口而不仅仅是一个链接?
这是我在 form.php 中的创建按钮
<div class="form-actions" id="michael">
<?php $this->widget('bootstrap.widgets.TbButton', array(
'buttonType'=>'submit',
'type'=>'primary',
'label'=>'Create',
)); ?>
</div>
我是yii的初学者。有没有办法让一个按钮显示一个模式弹出窗口而不仅仅是一个链接?
这是我在 form.php 中的创建按钮
<div class="form-actions" id="michael">
<?php $this->widget('bootstrap.widgets.TbButton', array(
'buttonType'=>'submit',
'type'=>'primary',
'label'=>'Create',
)); ?>
</div>