Get started with background-check CDN
MIT licensed
Background-check library: Asynchronously fetches and validates data, enhancing form submission speed.
Tags:- background
- check
Stable version
Copied!
How to start using background-check CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with background-check CDN - cdnhub.io</title>
<style>
#result {
width: 100%;
height: 200px;
border: 1px solid #ccc;
margin-top: 20px;
padding: 10px;
box-sizing: border-box;
}
</style>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<script src="https://cdn.cdnhub.io/background-check/1.2.2/background-check.min.js"></script>
<script>
$(document).ready(function() {
$('#checkButton').click(function() {
var name = $('#name').val();
BackgroundCheck.check(name, function(err, result) {
if (err) {
$('#result').text('Error: ' + err);
} else {
$('#result').text('Result: ' + JSON.stringify(result));
}
});
});
});
</script>
</head>
<body>
<input type="text" id="name" placeholder="Enter name to check">
<button id="checkButton">Check Background</button>
<div id="result"></div>
</body>
</html>
Copied!
Copied!