Team:Harvard/Slider Test
From 2011.igem.org
(Difference between revisions)
Line 5: | Line 5: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
$("button").click(function(){ | $("button").click(function(){ | ||
- | + | var number=document.getElementById("box").value; | |
+ | var output=number*number; | ||
+ | document.getElementById("paragraph1").innerHTML=output; | ||
+ | |||
}); | }); | ||
}); | }); |
Revision as of 20:02, 7 July 2011
My Really Awesome Website
iGEM 2011 baby!
This is another paragraph. Pretty cool, huh?
This is a temporary paragraph.