简体   繁体   English

点击Yii按钮时弹出

[英]Popup when click on button Yii

I am a beginner in yii. 我是yii的初学者。 Is there a way to have a button that displays a modal popup instead of just a link? 有没有一种方法可以显示模式弹出而不是仅显示链接的按钮?

here is my create button in form.php 这是我在form.php中的创建按钮

<div class="form-actions" id="michael">
<?php $this->widget('bootstrap.widgets.TbButton', array(
    'buttonType'=>'submit',
    'type'=>'primary',
    'label'=>'Create',
)); ?>

</div>

使用的是具有按钮点击很多UI元素相关的模式,这将使您的工作easies Yii的助推器警予助推器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM