Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

TokenInput jQuery plugin

Return to previous page

  • 4/7/2015
  • 1747 Views

Comments

1747 Views

TokenInput jQuery plugin

Last updated long time ago

Comments

Common

(Enter the content of this article below)

Advanced

 
This article is for a specific plugin. Please be sure to read the Introduction and Overview to jQuery Plugins which provides an introduction to the plugins.

The TokenInput plugin is primarily consumed by the dnnComposeMessage jQuery plugin to provide au autocomplete list of users and groups. However it can be reused to provide any autocomplete style of list and data. The tokeninput website covers all the available options.

To reuse it in your own extensions it's recommend that you use the Client Resource Management API to ensure only a single copy of the script is included and that it is minimized and compacted (if your install has chosen those options) e.g.

<dnn:DnnJsInclude ID="DnnJsInclude4" runat="server" FilePath="~/Resources/Shared/Components/Tokeninput/jquery.tokeninput.js" Priority="103" />

Whilst it's not mandatory, it is recommended to also include the css file that provides for a common look & feel.

<dnn:DnnCssInclude ID="DnnCssInclude3" runat="server" FilePath="~/Resources/Shared/Components/Tokeninput/Themes/token-input-facebook.css" />




What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out