Disable a button after click
Events are user actions while browsing a web page.
Examples of events are clicking, mouse hovering, typing into a text box, dragging e.t.c. Jquery offers a way to detect events and execute custom code when any of these events happens.
This process of detecting user interactions and responding to them with custom code is known as event handling. When an event is performed we say that the event has been fired. https://raw.githubusercontent.com/finsweet/jqueryCourse/main/jquery%20events/ex5.js?actionable=true
$(document).ready(function(){
XT1
});
</script>
Live demo
<style>.pop-up{background-color:#5d6373; padding: 1rem;}</style><div id="minidivpage" class="example-live"><div id="popUp" class="pop-up">Gray Area</div><a id="alertButton" href="#" class="w-button">Button alert</a></div>
$(document).ready(function() {
XT1
});
</script>