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=$("box").value;
+
       var number=document.getElementById("box").value;
   var output=number*number;
   var output=number*number;
   document.getElementById("paragraph1").innerHTML=output;
   document.getElementById("paragraph1").innerHTML=output;

Revision as of 20:08, 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.