国产精品成人VA在线观看,亚洲日韩在线中文字幕综合,亚洲AV电影天堂男人的天堂,久久人人爽人人爽人人av东京热

News新聞

業(yè)界新聞動(dòng)態(tài)、技術(shù)前沿
Who are we?

您的位置:首頁      樂道系統(tǒng)FAQ      Yii框架彈出框功能示例

Yii框架彈出框功能示例

標(biāo)簽: 發(fā)布日期:2017-01-07 00:00:00 229

本文實(shí)例講述了Yii框架彈出框功能。分享給大家供大家參考,具體如下:

<?php $this->beginWidget('zii.widgets.jui.CJuiDialog', array(
  'id'=>'userinfo_edit',//彈窗ID
  // additional javascript options for the dialog plugin
  'options'=>array(//傳遞給JUI插件的參數(shù)
    'title'=>'修改個(gè)人信息',
    'autoOpen'=>false,//是否自動(dòng)打開
    'width'=>'auto',//寬度
    'height'=>'auto',//高度
    'buttons'=>array(
    '關(guān)閉'=>'js:function(){ $(this).dialog("close");}',
 '提交'=>'js:function(){ health_edit();}' ),
   ),
)); ?>
 <table>
 <tbody>
 <input type="hidden" name="GrouphealthForm[student_id]" id="GrouphealthForm_student_id" value="<?php echo $uid; ?>" />
 <tr><td class="arighta"><label>昵稱</label></td><td><input type="text" name="realname" value="<?php echo $userinfo['realname'];?>" /></td></tr>
 <tr><td class="arighta">手機(jī)</td><td><input type="text" name="mobile" value="<?php echo $userinfo['mobile'];?>" /></td></tr>
 <tr><td class="arighta">郵箱</td><td><input type="text" name="email" value="<?php echo $userinfo['email'];?>" /></td></tr>
 </tbody>
 </table>
 <?php
$this->endWidget('zii.widgets.jui.CJuiDialog');
?>