Team:Freiburg/Project/toolkit

From 2013.igem.org

(Difference between revisions)
Line 11: Line 11:
<script>
<script>
-
document.getElementById("chk").onclick = function() {
+
$('#box').change(function() {
-
     if(this.checked)
+
     $('#div').toggle(this.checked);
-
        document.getElementById('mail_delete_button').style.display = "block";
+
});
-
    else
+
-
        document.getElementById('mail_delete_button').style.display = "none";
+
-
 
+
-
}
+
</script>
</script>
Line 77: Line 73:
<div id="main_contant" style="height:500px;">
<div id="main_contant" style="height:500px;">
-
<input type='checkbox' name='delete_convos[]' value='{$pms[pm_loop].pmconvo_id}' id="chk">
+
<input type="checkbox" vlalue="show-hide" checked="checked" id="box">
-
<div id="mail_delete_button" style="display: none;">asdf</div>
+
<div id="div">123</div>

Revision as of 22:01, 17 September 2013