Click here to Skip to main content
14,390,263 members
Rate this:
Please Sign up or sign in to vote.
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 20:33pm
v3

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

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

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

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100