+ 1
Using window.location.href to open file and webpage instead of function
Don't you know that you can use these method to open file and browser?
2 Respostas
+ 6
There are two ways to open new document or file.
Method 1:
window.location.href = "url or filename";
Method 2:
window.open("url or filename" ,
"target to open(optional) ");
+ 1
OK thank you!