Team:TU Delft/tools/table generator

From 2010.igem.org

(Difference between revisions)
 
Line 3: Line 3:
   <form action="javascript:alert('success!');">
   <form action="javascript:alert('success!');">
     <div>
     <div>
-
       <input type="text" />
+
       <input type="text" id="numrows" />
       <input type="submit" />
       <input type="submit" />
Line 12: Line 12:
     $("form").submit(function() {
     $("form").submit(function() {
-
       alert($("input:first").val())  
+
       alert($("#numrows").val())  
       return false;
       return false;
     });
     });
</script>
</script>
</html>
</html>

Latest revision as of 16:38, 4 August 2010

Table Generator