I am working on a telephone. I am trying to log in and by clicking the submit button in Login.html, I have to be redirected to a local html file.
login.html
<tr> <td> </td> <td> <input type="submit" class="submitbtn" name="submit" id="submit" value="Login" onclick="loginCheck()"> </td> </tr>
loginValidation.js
if (validCustomer == true) { alert("valid customer........"); document.location.href("file:///android_asset/www/Category.html");
But document.location.href
or window.location
/ window.open
does not work. Can anyone help on this? If I use window.open and run the application in the emulator, it works fine, but not on the device.
source share