Answers for "getting ad to close jquery"

0

getting ad to close jquery

<div id="adbox"> ad code goes here </div>
Posted by: Guest on September-19-2021
0

getting ad to close jquery

<script src="//ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
   
<div id="adbox"> ad code goes here </div>
Posted by: Guest on September-19-2021
0

getting ad to close jquery

document.querySelector('#adbox').onclick = function() {
  this.style.display = 'none';
};
Posted by: Guest on September-19-2021
0

getting ad to close jquery

$('#adbox').on('click', function() {
  $(this).hide();
});
Posted by: Guest on September-19-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language