js常用命令

1.跳转到新的界面
window.open(URL,name,features,replace)

    window.open("index.jsp","_self");//跳到自身打开

2.提示框

alert()警告
confirm()确认
prompt()提示

你可能感兴趣的:(js,javascript,界面)