জাভাস্ক্রিপ্ট ক্লিক ইভেন্ট ট্রিগার করতে, মাউস হোভারের উদাহরণটি দেখি।
উদাহরণ
<!DOCTYPE html> <html>
<body>
<p>Hover over the button.</p>
<form>
<input type="button" id="test" value="Hover" onmouseover="display()" onclick="alert('click event')">
</form>
<script>
function display() {
document.getElementById("test").click();
}
</script>
</body>
</html>