Template:UCSF/subnav/Hello/BBB/AAA

From 2010.igem.org

(Difference between revisions)
Line 101: Line 101:
var reg = /http:\/\/2010\.igem\.org\/Template:UCSF(.*)/;
var reg = /http:\/\/2010\.igem\.org\/Template:UCSF(.*)/;
var re =  reg.exec(PageURL);
var re =  reg.exec(PageURL);
-
var  result=new Array();
+
var  result;
result=re.split( "\/");
result=re.split( "\/");
alert(result);
alert(result);

Revision as of 02:15, 10 October 2010