How to enable pop up in javascript?

Wednesday, July 9, 2014

I am stuck somewhere in Javascript. Actually my problem is I want to display an alert box to user and user will read the instruction/pre caution and when he/she clicks on OK button I want to display new window for 4 times but I am facing a problem that is not being resolved when user's pop up is disabled. What my requirement is I want that to be automatically enabled.