Opening a new winodow with Window.Open method

Posted by Rajesh_Kumar under JavaScript category on | Points: 40 | Views : 805
Window.Open method opens a new window and loads the document specified by a given URL or navigates the app window to the specified location.

<script language="JavaScript">
function open_winow_example()
{ ("","my_window","menubar = 1,resizable = 1,width = 350,height = 250");

Now call open_winow_example() function in any button i.e. link,href an so on.

Note:We can also pass URL as aspx page/html page.

Comments or Responses

Login to post response