Team:KAIST-Korea/test
From 2011.igem.org
(Difference between revisions)
Line 5: | Line 5: | ||
function ask() | function ask() | ||
{ | { | ||
- | var x = prompt("Hi, would you like to view our webpage?", "") | + | var x = prompt("Hi, would you like to view our webpage?", ""); |
if(x == "Yes") | if(x == "Yes") | ||
{ | { | ||
Line 11: | Line 11: | ||
else | else | ||
{ | { | ||
- | document.location.href="http://www.facebook.com" | + | document.location.href="http://www.facebook.com"; |
} | } | ||
} | } |
Revision as of 13:17, 12 August 2011