欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Yii框架彈出框功能示例

 更新時(shí)間:2017年01月07日 10:52:53   作者:pyooer  
這篇文章主要介紹了Yii框架彈出框功能,結(jié)合實(shí)例形式分析了Yii框架彈出框的實(shí)現(xiàn)技巧,需要的朋友可以參考下

本文實(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');
?>

更多關(guān)于Yii相關(guān)內(nèi)容感興趣的讀者可查看本站專題:《Yii框架入門及常用技巧總結(jié)》、《php優(yōu)秀開發(fā)框架總結(jié)》、《smarty模板入門基礎(chǔ)教程》、《php面向?qū)ο蟪绦蛟O(shè)計(jì)入門教程》、《php字符串(string)用法總結(jié)》、《php+mysql數(shù)據(jù)庫操作入門教程》及《php常見數(shù)據(jù)庫操作技巧匯總

希望本文所述對(duì)大家基于Yii框架的PHP程序設(shè)計(jì)有所幫助。

相關(guān)文章

最新評(píng)論