                 when 9, 13
                     return if not view.isShowing()
                     e.preventDefault()
-                    view.choose()
+                    choose_field = this.options[this.theflag]['choose'] || 'data-value'
+                    view.choose(choose_field)
                 else
                     $.noop()
             e.stopPropagation()

        isShowing: () ->
            @.jqo().is(":visible")

        choose: () ->
            $li = @.jqo().find ".cur"
            str = if _isNil($li) then @.holder.query.text+" " else $li.attr("data-value") + " "
            @.holder.replaceStr(str)
            @.hide()
        rePosition: () ->

            data.reg flag, options

    $.fn.atWho.default =
        choose: null
        data: []
        callback: null
        cache: yes
