I have an android app. I want to redirect on clicking on an image. I tried using jquery but its not working please help.
This is the code:
$(document).ready(function (){
$(".add").click(function(){
window.navigate("https://someurl/");
});
})
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<a class="add" href="https:someurl" class="imgcenter">
<img class="add" src="ad_v2.jpg"/>
</a>