Get started with jo CDN
Stable version
Copied!
How to start using jo CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with jo CDN - cdnhub.io</title>
<script src="https://cdn.cdnhub.io/jo/0.4.1/jo.min.js"></script>
</head>
<body>
<button id="myButton">Click me</button>
<script>
document.addEventListener('DOMContentLoaded', () => {
const myButton = document.getElementById('myButton');
jo(myButton)
.on('click', () => {
alert('Button clicked!');
});
});
</script>
</body>
</html>
Copied!