Team:SEU O China/test

From 2012.igem.org

(Difference between revisions)
(Blanked the page)
 
Line 1: Line 1:
-
<html>
+
 
-
<script type="text/javascript">
+
-
var srcc=window.location;      //得到地址栏连接
+
-
srcc=srcc.toString()    //转换成string类型,可以省略
+
-
start=srcc.indexOf("#");      //返回 "? "在字串中第一次出现的位置
+
-
end=srcc.length;    //字串的长度
+
-
document.write(srcc.substring(start+1,end));
+
-
</script>
+
-
</html>
+

Latest revision as of 13:41, 25 September 2012