Answers for "element on click"

2

document on click

$(document).on("click","#test-element",function() {
    alert("click");
});
Posted by: Guest on April-24-2021
9

javascript click event

<button onclick="myFunction()">Click me</button>

<p id="demo"></p>

<script>
function myFunction() {
  document.getElementById("demo").innerHTML = "Hello World";
}
</script>
Posted by: Guest on April-10-2020
4

button click function in js

<script>
  $(document).ready(function(){
    $('#MyButton').click(function(){
       CapacityChart();
    });
  });
</script>

<input type="button" value="Capacity Chart" id="MyButton" >
Posted by: Guest on May-27-2020
0

on click

BODY ();
 background-color: "# 5b6870";
font-family: "verdana", Arial;
font-size: 10pt;
 color: "# 000000";
margin-top: 0pt; margin-left: 0pt; }

P {
font-family: "verdana", Arial;
font-size: 10pt;
}


A: link {text-decoration: none; color = "123888"; font: "Verdana"; font-size: 8pt; }
A: visited {text-decoration: none; color = "123888"; font: "Verdana"; font-size: 8pt; }
A: hover {text-decoration: none; color = "C62A2A"; font: "Verdana"; font-size: 8pt; }


Az: link {text-decoration: none; color = "123888"; font: "Verdana"; font-size: 10pt; }
Az: visited {text-decoration: none; color = "123888"; font: "Verdana"; font-size: 10pt; }
Az: hover {text-decoration: none; color = "C62A2A"; font: "Verdana"; font-size: 10pt; }
Posted by: Guest on May-01-2021

Browse Popular Code Answers by Language