User:ChristopherW

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
<script src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
+
<head>
-
<script type="text/javascript">/* <![CDATA[ */
+
<script>
 +
function myFunction()
 +
{
 +
alert("Hello! I am an alert box!");
 +
}
 +
</script>
 +
</head>
 +
<body>
-
$(document).ready(
+
<input type="button" onclick="myFunction()" value="Show alert box" />
-
alert("Hi");
+
-
);
+
-
/* ]]> */</script>
+
</body>
</html>
</html>

Revision as of 20:33, 14 July 2013