I wrote one hybrid application by using jQuery mobile. It is working on Android and iPhone, but on Windows Phone the UI is coming up, but the JavaScript functions are not working.
This is my code:
<html >
<head>
<script type="text/javascript">
function checkUser(){
//here is my logic to to next screen
}
</script>
</head>
<body>
<div data-role="page" data-theme="b" id="page1">
<p>
<a data-role="button" data-transition="none" data-theme="e" onclick="checkUser(); " rel="external"> Login </a>
</p>
</div>
</body>
</html>
When I click the login button the checkUser
function is not being called. What am I doing wrong?