How to open a new HTML page using jQuery?

后端 未结 4 2058
日久生厌
日久生厌 2020-12-31 11:19

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.

I am tryi

4条回答
  •  执笔经年
    2020-12-31 11:33

    use window.open("file2.html"); to open on new window,

    or use window.location.href = "file2.html" to open on same window.

提交回复
热议问题