jQuery Editable Combobox

程序名称:jQuery Editable Combobox

jQuery Editable Combobox 介绍

What is it?

jQuery Editable Combobox is a jQuery function that allows you to transform
any <select> tag into editable combobox.
This is done by adding a new <option> element to carry the value entered by
the keyboard. This will only work on select elements. Any other elements this
function will be applied to will be ignored.

How to use it?

Just import plugin file after importing the jQuery library and you’re set.

Syntax:

$(elements).editableCombobox([options])

Parameters:

  • object options - plugin specific options

Options:

  • int position - index of editable option to be inserted in select (default 0)
  • string|array classes - additional CSS classes to be added to editable option element (default ‘’)
  • object styles - additional CSS properties to be set for editable option element (default ‘’)
  • string pluginClass - name of plugin class, should be overwritten only if default plugin class is in use (default: ‘jecEditableOption’)
  • array ignoredKeys - ignored keycodes
  • array acceptedRanges - accepted key ranges

jQuery Editable Combobox 官网

http://plugins.jquery.com/project/jEC

相关编程语言

多功能下拉选择插件 SelectPage 简洁而强大的下拉分...
AutoComplete 是一个 jQuery Mobile 的插件,用于实...
Combogrid 是一个jQuery插件用于为输入框添加高级自...
Autobox2这个jQuery插件,可以用于创建类似于Facebo...
Link Scraper TextBox 是一个文本框的扩展插件,当你...
Awesomplete 超小超好用的超漂亮的 autocomplete 框...