Easy Rare Characters Writing Plugin - Long Press

File Size: 52.8 KB
Views Total: 951
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Easy Rare Characters Writing Plugin - Long Press

Long Press is a jQuery plugin that makes it as simple as possible to insert accented or rare characters on any device like iOS and Android.  

The letter can be picked by using mouse wheel, hovering over it with your mouse, or using arrow keys.

How to use it:

1. Add a textarea to your webpage

<textarea class="long-press" id="ta"></textarea>

2. Include necessart javascript files

<script src="jquery.min.js"></script> 
<script src="js/jquery.mousewheel.js"></script> 
<script src="js/plugins.js"></script> 
<script src="js/jquery.longpress.js"></script> 
<script src="js/app.js"></script> 

3. The CSS

<link rel="stylesheet" href="css/app.css">

4. Attach the plugin to the textarea element and done.




  • Added factory method


  • Updated jquery.longpress.js


  • Fixed for compatibility with jQuery 1.10.2

This awesome jQuery plugin is developed by quentint. For more Advanced Usages, please check the demo page or visit the official website.