jQuery MiniUI

 找回密码
 立即注册
查看: 2974|回复: 1
打印 上一主题 下一主题

自定义mini-buttonedit searchbox onkeyup事件取值问题! [复制链接]

Rank: 2

跳转到指定楼层
楼主
发表于 2017-7-13 15:50:31 |只看该作者 |倒序浏览
<input id="dc_key" class="mini-buttonedit searchbox" style="width: 100%;" emptyText="请输入关键字搜索"/>
onkeyup事件怎么取值?




Rank: 8Rank: 8

沙发
发表于 2017-7-13 17:10:27 |只看该作者
onkeyup="onKeyUp"
function onKeyUp(e) {
            var val = $(e.sender._textEl).val();
            
        }

Archiver|普加软件

GMT+8, 2024-6-18 14:56 , Processed in 1.029880 second(s), 9 queries .

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部