Click here to Skip to main content
15,885,936 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
i need to open/save dialog box in javascript/jquery in chrome browser.as window.open() is not working in chrome.
i need to open file from client side only.
window.open is working fine in IE.

Thanks

What I have tried:

i tried window.open function but it is not working in chrome as well tried tab.
Posted
Updated 12-Sep-16 19:33pm
v3

1 solution

Try specifying the properties of height and width, it opens as popup window rather than opening in new tab.

JavaScript
window.open("http://www.google.com", "", "width=200,height=100");
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900