日韩久久久精品,亚洲精品久久久久久久久久久,亚洲欧美一区二区三区国产精品 ,一区二区福利

jQuery 多結果自動完成搜索 Tokeninput Autocom

系統 3011 0

Snip20150721_7

Overview

Tokeninput is a jQuery plugin which allows your users to select multiple items from a predefined list, using autocompletion as they type to find each item. You may have seen a similar type of text entry when filling in the recipients field sending messages on facebook.

?

Features

  • Intuitive UI for selecting multiple items from a large list
  • Easy to skin/style purely in css, no images required
  • Supports any backend which can generate JSON, including PHP, Rails, Django, ASP.net
  • Smooth animations when results load
  • Select, delete and navigate items using the mouse or keyboard
  • Client-side result caching to reduce server load
  • Crossdomain support via JSONP
  • Callbacks when items are added or removed from the list
  • Preprocess results from the server with the onResult callback
  • Programatically add, remove, clear and get tokens
  • Customize the output format of the results and tokens

Screenshots

jQuery 多結果搜索 Tokeninput

Vertical list style item selection

jQuery 多結果搜索 Tokeninput
jQuery 多結果搜索 Tokeninput

Facebook style item selection

?

用法:

      <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script type="text/javascript" src="yourfiles/jquery.tokeninput.js"></script>
<link rel="stylesheet" type="text/css" href="yourfiles/token-input.css" />

<script type="text/javascript">
$(document).ready(function () {
    $("#my-text-input").tokenInput("/url/to/your/script/");
});
</script>
    

?

?

原文: http://loopj.com/jquery-tokeninput/

下載: loopj-jquery-tokeninput-jquery-tokeninput-1.6.0-0-g201d2d1

項目地址: https://github.com/loopj/jquery-tokeninput

實例: http://loopj.com/jquery-tokeninput/demo.html

?

本文: jQuery 多結果自動完成搜索 Tokeninput Autocomplete Text Entry

?

jQuery 多結果自動完成搜索 Tokeninput Autocomplete Text Entry


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 万山特区| 邢台市| 哈尔滨市| 皮山县| 巧家县| 松滋市| 巴里| 茌平县| 江华| 毕节市| 蓝山县| 青州市| 南陵县| 肥乡县| 奎屯市| 凌云县| 绍兴市| 阿尔山市| 玉林市| 介休市| 恩施市| 蒙阴县| 通榆县| 来宾市| 安岳县| 大港区| 泉州市| 蓝田县| 北京市| 客服| 调兵山市| 布拖县| 德格县| 肇庆市| 古蔺县| 噶尔县| 永兴县| 固阳县| 封丘县| 乌拉特后旗| 贵定县|