1
0
Fork 0
wmdeit_kaform/iban.js/test/simple.html

15 lines
458 B
HTML

<html>
<head>
<meta charset="utf-8">
<title>Plain old tests</title>
<script src="../iban.js"></script>
</head>
<body>
<pre></pre>
<script>
var pre = document.getElementsByTagName('pre')[0];
pre.innerHTML += "Correctly detect invalid IBAN: " + (IBAN.isValid('hello world') == false) + "\n";
pre.innerHTML += "Correctly detect valid IBAN: " + (IBAN.isValid('BE68539007547034') == true) + "\n";
</script>
</body>