samubra
那就应该这样:
<?php echo CHtml::beginForm('','post',$htmlOptions=array(‘id’=>'demo','class'=>'demo')); ?>
把null去掉,留空我不知道你的
$id='demo'
是要表达什么意思<?php echo CHtml::beginForm('null','post',$htmlOptions=array($id='demo')); ?>
其中null是提交的url,就是action="null";
post是表单提交的方式;后面的数组是form的html属性,比如说id呀,class啊什么的<?php echo CHtml::beginForm('null','post',$htmlOptions=array($id='demo')); ?>
- samubra 回复了话题 关于表关联显示层怎么调用另一个类的的属性?
也可以用“关联名称.属性",类似的效果
你看看调用elfinder/地址的权限,还有就是和debug的一个扩展冲突