Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
A jQuery auto complete plugin.
Include files:
<script src="/path/to/jquery.js"></script><!-- jQuery is required -->
<link href="/path/to/completer.css" rel="stylesheet">
<script src="/path/to/completer.js"></script>
Initialize with $.fn.completer
method.
<input class="completer" type="email">
$(".completer").completer({
source: ["gmail.com", "yahoo.com", "hotmail.com", "outlook.com", "live.com", "aol.com"],
separator: "@"
});
Setup with $("#target").completer(options)
, or global setup with $.fn.completer.setDefaults(options)
.
function() {}
Will be run when complete.
The element tag of list item.
function(val) { return val; }
The function will be passed the input value and run before show the list.
The position of the container.
The source data for complete or suggest.
A jQuery selector string, highlight the item when it's selected.
This will be added between the value and attachment.
Set it true
to start the suggestion mode.
<ul class="completer-container"></ul>
The container of the completer.
The css z-index
property for the container.
As a jQuery plugin, you can reference to the jQuery Browser Support.
Released under the MIT license.
FAQs
A simple jQuery auto complete plugin.
The npm package completer receives a total of 20 weekly downloads. As such, completer popularity was classified as not popular.
We found that completer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.