Team:Harvard/Slider Test
From 2011.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | + | ||
$("button").click(function(){ | $("button").click(function(){ | ||
var number=$("#box").val(); | var number=$("#box").val(); | ||
- | + | var output=number*number; | |
- | + | $("#paragraph1").html(output); | |
- | + | if (number == 5){ | |
+ | alert("you chose 5 sucker"); | ||
+ | } | ||
}); | }); | ||
}); | }); |
Revision as of 13:41, 8 July 2011
My Really Awesome Website
iGEM 2011 baby!
This is another paragraph. Pretty cool, huh?
This is a temporary paragraph.