Template:UCSF/subnav/Hello/BBB/AAA

From 2010.igem.org

(Difference between revisions)
Line 99: Line 99:
function getLadder(){
function getLadder(){
var PageURL = document.URL;
var PageURL = document.URL;
-
var reg = /http:\/\/2010\.igem\.org\/Template:UCSF(\/[^/]+)*/g;
+
var reg = /\/[^/]+/g;
var result =  reg.exec(PageURL);
var result =  reg.exec(PageURL);
alert(result);
alert(result);

Revision as of 02:08, 10 October 2010