Minimal Math Captcha Plugin For jQuery - Captcha Basic

File Size: 19.4 KB
Views Total: 12660
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Minimal Math Captcha Plugin For jQuery - Captcha Basic

An ultra-light (less than 1kb) jQuery Math Captcha plugin that is easy to integrate into your webpage for preventing spam on forms.

How to use it:

1. Load the latest version of jQuery library and the jQuery Captcha Basic plugin's JavaScript in the document.

<script src="//"></script>
<script src="jquery.captcha.basic.min.js"></script>

2. Call the function captcha() on your existing HTML5 forms and the plugin will take care of the rest.


3. Apply your own CSS styles to the captcha element as this:

#captchaInput {
  width: 2.5em;
  margin-left: .5em;

Change log:


  • Aria label added to captcha input for AXE accessibility rules

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