jQuery MiniUI

标题: combobox 回车下拉框内容直接跳到下一个textbox [打印本页]

作者: zbx19920108    时间: 2013-12-16 13:46:15     标题: combobox 回车下拉框内容直接跳到下一个textbox

这个如何实现啊那个我用onenter事件也没用,一定要我先回车选取下拉框的内容再按回车才能弹到下个选中框
代码如下:
<td align="left" >
<input id="sypm_code" class="mini-combobox" url="${pageContext.request.contextPath}/test!test.action"  allowInput="true" valueFromSelect="true"  onfocus="sypm_codefocus"  maxLength="10"/>
</td>


function sypm_codeenter(e)
            {
                    if(e.sender.getValue() != null && e.sender.getValue().length > 0)
                    {
                            var depth_used = mini.get("depth_used");
                            depth_used.focus();
                            depth_used.selectText();
                    }
                    else
                    {
                            mini.alert("请输入!","提醒",function()
                            {
                                    e.sender.focus();
                                    e.sender.selectText();
                            });
                    }
            }
            
            function sypm_codefocus(e)
            {
                    e.sender.selectText();
                    setHelpText("请输入病疵代码");
            }


作者: zbx19920108    时间: 2013-12-16 13:47:12

<input name="depth_used" id="depth_used" class="mini-spinner" decimalPlaces="1" minValue="0" maxValue="999" onenter="depth_usedenter" onfocus="depth_usedfocus"/>
这是还有个

作者: factory    时间: 2013-12-16 13:58:43

zbx19920108 发表于 2013-12-16 13:47
这是还有个

表单目前只支持tab来切换下一个编辑器
http://www.miniui.com/demo/#src=form/form.html

表格的话,可以用回车和tab来切换到下一个单元格
作者: zbx19920108    时间: 2013-12-16 14:10:18

factory 发表于 2013-12-16 13:58
表单目前只支持tab来切换下一个编辑器
http://www.miniui.com/demo/#src=form/form.html

那就是说现在没有办法回车下拉框内容直接跳入下一个空格了咯
作者: factory    时间: 2013-12-16 14:22:52

zbx19920108 发表于 2013-12-16 14:10
那就是说现在没有办法回车下拉框内容直接跳入下一个空格了咯

表单用tab来切到下一个表单控件




欢迎光临 jQuery MiniUI (http://miniui.com/discuss/) Powered by Discuz! X2