Team:Tsinghua/try

From 2010.igem.org

(Difference between revisions)
Line 169: Line 169:
   </a>
   </a>
</div>
</div>
-
 
-
 
-
<br>
 
-
<br>
 
-
 
-
 
-
<a href="http://www3.clustrmaps.com/counter/maps.php?url=https://2010.igem.org/Team:Tsinghua" id="clustrMapsLink"><img src="http://www3.clustrmaps.com/counter/index2.php?url=https://2010.igem.org/Team:Tsinghua" style="border:0px;" alt="Locations of visitors to this page" title="Locations of visitors to this page" id="clustrMapsImg" onerror="this.onerror=null; this.src='http://www2.clustrmaps.com/images/clustrmaps-back-soon.jpg'; document.getElementById('clustrMapsLink').href='http://www2.clustrmaps.com';" />
 
-
</a>
 
-
 
-
<br>
 
-
<br>
 
-
 
-
<a href="http://www3.clustrmaps.com/user/19fbb75c"><img src="http://www3.clustrmaps.com/stats/maps-no_clusters/2010.igem.org-Team-Tsinghua-thumb.jpg" alt="Locations of visitors to this page" />
 
-
</a>
 
-
 
-
 
-
<br>
 
-
<br>
 
-
 
-
[url=http://www3.clustrmaps.com/user/19fbb75c][img]http://www3.clustrmaps.com/stats/maps-no_clusters/2010.igem.org-Team-Tsinghua-thumb.jpg[/img][/url]
 
-
 
-
<br>
 
-
<br>
 
-
<br>
 
-
<br>
 
-
<br>
 
-
<br>
 
-
<br>
 
-
<br>
 
-
 
-
 
-
</html>
 
-
 
-
<script>
 
-
function Ok_OnClick(event)
 
-
{
 
-
if(document.getElementsByName("textName")[0].value == ""){
 
-
alert("请输入内容");
 
-
return;
 
-
}//getElementById
 
-
var table;
 
-
var tableList = document.getElementsByTagName("TABLE");
 
-
for(var i = 0 ; i < tableList.length ; i++) {
 
-
if(tableList[i].name == "tableName") {
 
-
table = tableList[i]
 
-
break;
 
-
}
 
-
}
 
-
var value = document.getElementsByName("textName")[0].value;
 
-
var index = table.rows.length;
 
-
table.insertRow(index);
 
-
table.rows(index).insertCell(0);
 
-
table.rows(index).cells(0).innerText = value;
 
-
document.getElementsByName("textName")[0].value = "";
 
-
}
 
-
</script>
 

Revision as of 14:09, 26 August 2010

<script> function Ok_OnClick(event) { if(document.getElementsByName("textName")[0].value == ""){ alert("请输入内容"); return; }//getElementById var table; var tableList = document.getElementsByTagName("TABLE"); for(var i = 0 ; i < tableList.length ; i++) { if(tableList[i].name == "tableName") { table = tableList[i] break; } } var value = document.getElementsByName("textName")[0].value; var index = table.rows.length; table.insertRow(index); table.rows(index).insertCell(0); table.rows(index).cells(0).innerText = value; document.getElementsByName("textName")[0].value = ""; } </script>


Contents

Follow us on:




Until the Jamboree: 载入天数...载入秒数...




网页特效观止|JsCode.CN|---在您的网页里加入北京奥运倒计时的代码 距离北京奥运会开幕还有:
小时