Jquery 打开新页面

在当前页面打开

    $('#databases').click(function(){
        window.location.href = "databases.html"; 
    })

 

打开新的页面

 

    $('#question').click(function(){
        window.open("./question/question.html");  
    })

 

posted on 2018-01-02 11:36  星河赵  阅读(31692)  评论(0编辑  收藏  举报

导航