User:ChristopherW

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
<head>
<head>
 +
 +
 +
<p id="Test">Paragraph?</p>
 +
 +
<input type="button" onclick="myFunction()" value="Show alert box" />
 +
<br>
 +
<input type="button" onclick="myOther()" value="Hi, there!" />
 +
 +
<script>
<script>
function myFunction()
function myFunction()
{
{
window.alert("Hello! I am an alert box!");
window.alert("Hello! I am an alert box!");
-
}
+
};
-
document.write(Date());
+
document.getElementById("Test")=Not!;
</script>
</script>
Line 13: Line 22:
<body>
<body>
-
<p id="Test">Paragraph?</p>
 
-
<input type="button" onclick="myFunction()" value="Show alert box" />
 
-
<input type="button" onclick="myOther()" value="Hi, there!" />
 
</body>
</body>
</html>
</html>

Revision as of 20:47, 14 July 2013

Paragraph?