Reputation: 3740
Hi I'm working on a project there I found line like this :
window.open("url/example",false);
but I read on w3schools.com that window.open accepts four parameters:
http://www.w3schools.com/jsref/met_win_open.asp
they listed second parameter as name and it accepts following values:
name Optional. Specifies the target attribute or the name of the window.
The following values are supported:
_blank - URL is loaded into a new window. This is default
_parent - URL is loaded into the parent frame
_self - URL replaces the current page
_top - URL replaces any framesets that may be loaded
name - The name of the window
I'm just wondering what false representing in my code thanks in advance... Sorry if not good question. JS newbie .
Upvotes: 1
Views: 2457