Easy Rare Characters Writing Plugin - Long Press

Easy Rare Characters Writing Plugin - Long Press

Long Press is a jQuery plugin that make 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="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> 
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.8.2.min.js"><\/script>')</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">



  • 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.

  • Publication date: 10.12.2018
  • Source