javascript中的重定向Url
我有一个网址:javascript中的重定向Url,javascript,Javascript,我有一个网址:http://localhost:1356/MyProfile/Login.aspx 我想将此重定向到http://localhost:1356 如何使用javascript?试试看 window.location.href = 'http://localhost:1356'; location.href=…请使用搜索。
http://localhost:1356/MyProfile/Login.aspx
我想将此重定向到http://localhost:1356
如何使用javascript?试试看
window.location.href = 'http://localhost:1356';
location.href=…请使用搜索。