Algorithm-CouponCode

 view release on metacpan or  search on metacpan

MANIFEST  view on Meta::CPAN

MANIFEST
META.json
META.yml
Makefile.PL
README
dist.ini
html/cc_icons.png
html/index.html
html/jquery.couponcode.css
html/jquery.couponcode.js
html/style.css
lib/Algorithm/CouponCode.pm
t/00-load.t
t/01-generate.t
t/02-bad-regex.t
t/03-validate.t
t/04-transposition.t
t/release-pod-coverage.t
t/release-pod-syntax.t

html/index.html  view on Meta::CPAN

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>CouponCode Test Page</title>
  <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
  <script type="text/javascript" src="jquery.couponcode.js"></script>
  <link rel="stylesheet" type="text/css" href="jquery.couponcode.css">
  <link rel="stylesheet" type="text/css" href="style.css">
  <script type="text/javascript">

    jQuery(document).ready(function($){

        $('#registration-code').couponCode({
            parts   : 3,
            setFocus: true,
            onChange: function(valid) {
                          submit = $('#demo-form input[type="submit"]');
                          if(valid) {



( run in 0.575 second using v1.01-cache-2.11-cpan-49f99fa48dc )