Answers for "jquery when clicked function"

12

jquery onclick function

$( "#other" ).click(function() {
  $( "#target" ).click();
});
Posted by: Guest on June-03-2020
1

.on click jquery

var myEl = document.getElementById('myelement');

myEl.addEventListener('click', function() {
    alert('Hello world');
}, false);

myEl.addEventListener('click', function() {
    alert('Hello world again!!!');
}, false);
Posted by: Guest on February-23-2022

Code answers related to "jquery when clicked function"

Code answers related to "Javascript"

Browse Popular Code Answers by Language