Click here to Skip to main content
15,887,987 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I using the below code to show popup in new window

var  popupWindow = window.showModalDialog(
    'Edit.aspx?ppId = ' + s,
    "_blank",
    'left=300, top=200, height=350, width= 550, status=yes, resizable= yes, scrollbars= yes, toolbar= no,location= center, menubar= no'
);


but the popup getting blocked by the browser ... I need to manually allow popups every time...
Please say some solution to avoid popup block
Posted
Updated 28-Apr-13 23:55pm
v2

It depended Browser ..u must change browser setting
How to disable your browser's popup blockers[^]
 
Share this answer
 
v2
 
Share this answer
 
 
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