Jquery alert on android
-
Hi,
Thanks for the great plugin.
My problem is I can’t seem to make work my Jquery script with the is_android condition.
The script works without the condition.
And I can use the condition with some php echo.
But it doesn’t work when I put the script in the condition.This code is in the homepage-menu.php file of my theme
<?php if ( is_android() ){ ?>
<script>
$(document).ready(function() {
$(“#menu-item-900”).click(function(){
window.alert(“Merci d’utiliser l’application”);
});
});
</script>
<?php }?>Do you have any idea ?
Thanks in advance !
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Jquery alert on android’ is closed to new replies.