User:ChristopherW

From 2013.igem.org

(Difference between revisions)
Line 4: Line 4:
<script language="JavaScript" src="https://2013.igem.org/Team:TU-Munich/AnnotatorCode.js?action=raw&ctype=text/js"></script>
<script language="JavaScript" src="https://2013.igem.org/Team:TU-Munich/AnnotatorCode.js?action=raw&ctype=text/js"></script>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
 +
<script>
 +
$(document).ready(function(){
 +
  $("button").click(function(){
 +
    $("div").load("demo_cd_catalog.xml",function(response,status){
 +
      if (status=="success")
 +
      {
 +
      $("div").html("<ol></ol>");
 +
      $(response).find("artist").each(function(){
 +
        var item_text = $(this).text();
 +
        $('<li></li>').html(item_text).appendTo('ol');
 +
        });
 +
      alert("There are "+$(response).find("cd").size()+" CDs")
 +
      }
 +
    });
 +
  });
 +
});
 +
</script>
<title>AutoAnnotator by Team TU-Munich 2013</title>
<title>AutoAnnotator by Team TU-Munich 2013</title>
</head>
</head>

Revision as of 14:57, 25 July 2013

AutoAnnotator by Team TU-Munich 2013

Enter a BioBrick number below! Either starting with "BBa_" or just the alphanumeric code!
For new BioBricks, which aren't in the Registry yet, please enter the the nucleotide sequence directly.

Enter BioBrick number!