评论列表
2019-05-23 14:34:26
需求模块中的create.html.php中的事件方法在哪里找
王春生 2019-05-27 14:54:36
搜索,会不会?
费先生 2019-02-03 17:48:37
control.php代码片段
public function create()
{

if($_POST)
{
$bugID = $this->nba->create();
//echo $bugID;
}

$this->view->s = $this->nba->s();
$this->display();

}
model.php代码片段
public function create()
{
$now = helper::now();
$bug = fixer::input('post');
echo js::alert($bug->file);
}
create.html.php代码片段
<tr>
<th class='rowhead'><?php echo $lang->bug->files;?></th>
<td><?php echo html::file('file');?></td>
</tr>
<?php echo html::submitButton() . html::backButton() ;?>
想要上传文件,但是对话框里弹出的文件名是空值,怎么修改?
小飞 2018-10-30 16:01:44
html::submitButton 是否直接调用model层方法进行数据提交?具体代码实现是在哪块实现的?
王春生 2018-11-01 23:54:04
不可以。
dancy 2018-10-08 14:09:14
我想通过js操作下拉框的值,页面上一个select框的change事件改变另一个select的值,另一个select的value改变了,但它在页面上显示的中文文本还是改变之前对应的value的文本,有没有什么js方法可以不刷新页面重置或者修改select的值啊?
omission 2017-02-23 14:05:33
我想知道 【html::submitButton($label, $attr) 生成提交按钮。】是怎么用的,提交给了谁,怎么处理提交的内容?
Lin 2016-08-06 11:01:37
我用die(js::closeModal());怎么关闭不了当前模态框的?是要加什么参数吗?
张新 2016-07-08 08:38:23
在control.php里面用js的函数js::locate进行链接的跳转,$target用blank在新窗口没有成功,只能在top或parent在当前窗口打开,是参数有问题吗
王春生 2016-07-10 14:18:42
location是跳转的。你可以看下front.class.php里面的定义
xiaoniba 2016-05-26 12:51:55
html::select($name, $options, $selected, $attr),生成标签。
js::confirm($message, $okURL, $cancelURL, $okTarget, $cancelTarget),选择提示。
这两句是不是有笔误
fallen 2016-03-18 14:06:51
一个页面中有保存按钮和提交按钮,都是用html::submitButton写的,在后台处理post上来的数据的时候,如何判断是通过哪个按钮传上来的?
王春生 2016-03-21 11:09:11
按理一个表单一个提交按钮。你如果想区分的话,可以给按钮追加事件,增加额外的参数。
fairylly 2016-03-08 16:12:26
BUG-提BUG:
所属模块:<?php echo html::select('module', $moduleOptionMenu, $moduleID);?>
当前指派给:<?php echo html::select('assignedTo', $users, $assignedTo, 'class=select-3');?>
这些字段都可以进行模糊搜索,是在什么地方设置的呢?

使用:类似的语法,只是普通的下拉框样式,不是下拉搜索框
fairylly 2016-03-09 15:47:37
已经知道原因了,使用的是chosen来处理的
$("#module").chosen({no_results_text:noResultsMatch});
$('#assignedTo').chosen({no_results_text:noResultsMatch});
2/3
发表评论
评论通过审核后显示。