Javascript won’t trigger
-
Do you know why my javacript doesn’t trigger when i add it to the header of my page? It appear normaly in the source code and work in a local environment (or in a html environement), by in my server with WordPress it’s block by something. Thanks for your help.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){$('#click').click(function(){
window.location.;});
setTimeout(function(){$('#click').trigger('click');}, 2000);});</script>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.