Thursday, October 13, 2011

javascript - window.open

html
head
script type="text/javascript"
function open_win()
{
window.open("http://agni-tech.blogspot.com/");
}
/script
/head

body
form
input type=button value="Open Windows" onclick="open_win()"
/form
/body
/html

No comments: