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 number=$("box").html();
   var output=number*number;
   var output=number*number;
-
   $("#paragraph1").html=output;
+
   $("#paragraph1").html(output);
   });
   });

Revision as of 20:22, 7 July 2011

Really Awesome Webpage

My Really Awesome Website

iGEM 2011 baby!

This is another paragraph. Pretty cool, huh?

This is a temporary paragraph.