Team:UNIK Copenhagen/test1

From 2014.igem.org

(Difference between revisions)
(Created page with "<!DOCTYPE html> <html> <head> <script> function preferedBrowser() { prefer = document.forms[0].browsers.value; alert("You prefer browsing internet with " + prefer); } </s...")
(Blanked the page)
 
Line 1: Line 1:
-
<!DOCTYPE html>
 
-
<html>
 
-
<head>
 
-
<script>
 
-
function preferedBrowser() {
 
-
    prefer = document.forms[0].browsers.value;
 
-
    alert("You prefer browsing internet with " + prefer);
 
-
}
 
-
</script>
 
-
</head>
 
-
<body>
 
-
 
-
<form>
 
-
Choose which browser you prefer:
 
-
<select id="browsers" onchange="preferedBrowser()">
 
-
<option value="Chrome">Chrome</option>
 
-
<option value="Internet Explorer">Internet Explorer</option>
 
-
<option value="Firefox">Firefox</option>
 
-
</select>
 
-
</form>
 
-
 
-
</body>
 
-
</html>
 

Latest revision as of 13:06, 24 August 2014