I Have spent 4 hours trying to get this to work. But I want to make an tap event on a image open a tel: link. this code does nothing i got not Idea what else to do. Help would be greatly appreciated.
<script>
$(document).on('pageinit', function(){
$("#phone").on('tap','#phone',function(){
window.location.href= "tel:2063210041";
});
});
</script>
<img id="phone" src="call.gif">