工作示例的jeditable和自动完成一起工作 [英] Working example of jeditable and autocomplete working together

查看:138
本文介绍了工作示例的jeditable和自动完成一起工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到了很多关于这个,但所有谷歌的职位似乎是在谈论如何,这是正在进行中。有谁知道的jeditable和自动填充功能一起工作,所以我可以点击文本,并得到一个文本框,并有自动填充功能针对文本工作的工作版本

I see a lot of google posts on this but all seems to be talking about how this is in progress. Does anyone know of a working version of jeditable and autocomplete functionality working together so i can click on text and get a textbox and have autocomplete functionality working against that textbox

编辑:
我打开一个赏金,因为它仍然好像这些解决方案的复制堆栈溢出标签+ jeditable在那里我可以使用jeditable点击文字后得到一个可编辑texbox,然后可以输入一个逗号分隔的自动完成每一个条目列表i型(类似于堆栈溢出进入标记)。

I am opening a bounty, as it still seems like none of these solutions replicate Stack overflow tags + jeditable where i can use jeditable to get a editable texbox after clicking on text and then be able to enter a comma separated list that autocomplete each entry as i type (similar to entering tags in stack overflow).

推荐答案

看看这个

基于jQuery就地编辑+自动完成

用法

Usage

$('#edit').editable( 'echo.php', // POST URL to send edited content
    { indicator : , // options for jeditable 
        event: 'click'      // check jeditable.js for more options
    },
    { url: "search.php", //url form where autocomplete options will be extracted
        minChars: 1, // check autocomplete.js for more options
        formatItem:formatItem,
        selectOnly: 1,
        inputSeparator:';' // a new option of inputSeparator was introduced. 
    }
);

您可以使用','作为输入分隔符。

You can use ',' as input separator.

这篇关于工作示例的jeditable和自动完成一起工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆