<html>
<head>
<script type='text/javascript'>
function skipButtonTapped()
{
}
var pinID = 0;
function ping() {
var message = 'hello ' + Date.now();
document.title = message;
window.location.hash = pinID++;
return false;
}
</script>
</head>
<body style='overflow-x:hidden;overflow-y:hidden;'>
<h2 style = "font-size:16px;" align='center'>Hi Welcome to Webpage</h2>
<br/>
<input type='button' style='width:90px;height:30px;' onClick="window.location.hash = ping()" value='click me'>
</center>
</body>
</html>
i have this page iam already show it in uiwebview ios app and i want user onclick or javascript function to go into another view controller for native code ...