User:ChristopherW
From 2013.igem.org
(Difference between revisions)
ChristopherW (Talk | contribs) |
ChristopherW (Talk | contribs) |
||
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. | + | document.getElementById("Test")=Not!; |
</script> | </script> | ||
Line 13: | Line 22: | ||
<body> | <body> | ||
- | |||
- | |||
- | |||
</body> | </body> | ||
</html> | </html> |
Revision as of 20:47, 14 July 2013
Paragraph?