Team:Heidelberg/Modeling/miGUI

From 2010.igem.org

(Difference between revisions)
Line 16: Line 16:
function getvar (num)
function getvar (num)
-
{var f = document.forms["form"+num];
+
{
-
var v = f.elements[0];
+
dataarray[num] = document.forms["form"+num].elements[0].value;
-
dataarray[num] = v.value;
+
document.getElementById("outform"+num).style.display = "block";
document.getElementById("outform"+num).style.display = "block";
document.forms["formout"+num].elements[0].value = dataarray[num];}
document.forms["formout"+num].elements[0].value = dataarray[num];}
Line 106: Line 105:
<form>
<form>
<select name="menu">
<select name="menu">
-
<option>aaaa</option>
+
<option value="aaaa">aaaa</option>
-
<option>bbbb</option>
+
<option value="bbbb">bbbb</option>
-
<option>cccc</option>
+
<option value="cccc">cccc</option>
-
<option>dddd</option>
+
<option value="dddd">dddd</option>
-
<option>eeee</option>
+
<option value="eeee">eeee</option>
</select></form>
</select></form>
<input type="button" value="Submit" onClick="getvar(1)"></form></td>
<input type="button" value="Submit" onClick="getvar(1)"></form></td>

Revision as of 16:47, 17 October 2010

GUI_Picture shRNAmir Promoter1 Promoter2 miGene shR_BS miR_BS Reference Virus Operator

shRNAmir:
Promoter1:
Promoter2:
miGene:
shR_BS:
miR_BS:
Reference:
Virus:
Operator:
Text Text Text Text
Text Text Text Text
Variable1

Text Text Text Text
Text Text Text Text

Variable2

Text Text Text Text
Text Text Text Text

Variable3

Text Text Text Text
Text Text Text Text

Variable4

Text Text Text Text
Text Text Text Text

Variable5

Text Text Text Text
Text Text Text Text

Variable6

Text Text Text Text
Text Text Text Text

Variable7

Text Text Text Text
Text Text Text Text

Variable8

Text Text Text Text
Text Text Text Text

Variable9