code: function reload() {
    eval($("#layerdef").val());
  
    // refresh buttons
    var t = '';
    for(var i=1;i<net.layers.length-1;i++) { // ignore input and regression layers (first and last)
      var butid = "button" + i;
      t += "<input id=\""+butid+"\" value=\"" + net.layers[i].layer_type +"\" type=\"submit\" onclick=\"updateLix("+i+")\" style=\"width:80px; height: 30px; margin:5px;\";>";
    }
    $("#layer_ixes").html(t);
    $("#button"+lix).css('background-color', '#FFA');
  }
docs: layer id of layer we'd like to draw outputs of