Skip to content Skip to sidebar Skip to footer

TypeError: Undefined Is Not An Object (evaluating 'newWindow.focus')

I am having the following javascript which open ups a child window with the sizes and align it int he center of the screen function PopupCenter(url, title, w, h) { // F

Solution 1:

In my case, this problem occurred because I called popup from the ajax result in the Safari. I received ajax with sync and it worked fine.

window.open() works different on AJAX success


Post a Comment for "TypeError: Undefined Is Not An Object (evaluating 'newWindow.focus')"