Team:Warsaw/JSTest

From 2008.igem.org

(Difference between revisions)
Line 126: Line 126:
var qs=new Querystring();
var qs=new Querystring();
-
var num=parseInt(qs.get("num", "0"));
+
 
var title=qs.get("name");
var title=qs.get("name");
 +
var i=0;
 +
var tgt=new Array();
 +
do
 +
{
 +
tgt.push("arg"+i);
 +
i++;
 +
}
 +
while(qs.contains("arg"+i));
 +
 +
 +
/*
 +
var num=parseInt(qs.get("num", "0"));
var tgt=new Array(num);
var tgt=new Array(num);
for (var i=0;i<num;i++)
for (var i=0;i<num;i++)
Line 133: Line 145:
tgt[i]=qs.get("arg"+i);
tgt[i]=qs.get("arg"+i);
}
}
 +
*/
 +
-
if (tgt.length>0) merge(tgt);
+
if (i>1) merge(tgt);

Revision as of 08:36, 26 October 2008

Gallery Bricks Notebook Team Project Home