In: Computer Science
1 Does your browser have cookies enabled?
2 Does window.open(); work?
need some explanation in both question.
`Hey,
Note: Brother if you have any queries related the answer please do comment. I would be very happy to resolve all your queries.
1)
Cookies are small text files which web servers can place on your computer when you visit their website. Cookies are typically used to help websites remember that you've logged in, or perhaps to store your personal preferences for that website.
Cookies can also be used to track your behaviour (and particularly to track your behaviour across a number of different websites). Third-party cookies are often used to do this, and a lot of web users choose to disable third party cookies to help prevent them being tracked. To find out if your browser is allowing Third-Party cookies, Visit our third-party cookies detection page.
You need to make your own decision about what kinds of Cookies you want to allow.
A lot of websites require that Cookies are enabled for their functionality to work. Here are a series of guides to help you configure your settings regarding Cookies.
Click 'Tools' (the gear icon) in the browser toolbar. Choose Internet Options. Click the Privacy tab, and then, under Settings, move the slider to the top to block all cookies or to the bottom to allow all cookies, and then click OK
2)
The standard popup-blocker logic contained in most browsers these days will block any calls to window.open() that are not the direct result of a user action. Code that is triggered by timers or by any asynchronous callback (like your ajax ready function) will be treated as NOT caused directly by user actions and the new popup window will generally be blocked.
You can verify this is what is happening by temporarily changing your browser's popup blocking (turning it off) and see that it then starts working.
Kindly revert for any queries
Thanks.