Team:Heidelberg/Template
From 2010.igem.org
(Difference between revisions)
AlejandroHD (Talk | contribs) |
|||
Line 583: | Line 583: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | function | + | function removesqBracket() { |
var arr = document.getElementsByTagName("span"); | var arr = document.getElementsByTagName("span"); | ||
Line 594: | Line 594: | ||
var arritext = arri.innerHTML | var arritext = arri.innerHTML | ||
arritext = arritext.replace(/^\[/, ""); | arritext = arritext.replace(/^\[/, ""); | ||
- | + | document.getElementsByTagName("span")[i].innerHTML = arritext.replace(/\]$/, ""); | |
- | } | + | } |
- | } | + | }} |
- | } | + | window.onload = removesqBracket(); |
- | window.onload = | + | |
</script> | </script> | ||
Revision as of 01:00, 26 October 2010
![](https://static.igem.org/mediawiki/2010/9/92/Bg_plasmid.png)