So, I am using IBM Worklight where I have the main file called file1.html and then I created another html file called file2.html.
file1.html
file2.html
I am tryi
use window.open("file2.html"); to open on new window,
window.open("file2.html");
or use window.location.href = "file2.html" to open on same window.
window.location.href = "file2.html"