title: when you click on the function button (start) is not implemented
body: <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>&lt;script&gt;
  var imgsrc = [];
  for (i=0;i&lt;30;i++)
      imgsrc[i] = "images/"+i+".jpg";
  function start() {
    $numberimg = document.getElementById("numberimg").value;
    $numbercolumn = document.getElementById("numbercolumn").value;
    for (i = 0; i &lt; $numberimg; i++) {
      text += "&lt;img src='" + imgsrc[i] + "'&gt;&lt;br&gt;";
    }
    document.getElementById("content").innerHTML = text;
  }
  &lt;/script&gt;</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>&lt;style type="text/css"&gt;
  body,td,th {
   margin:0px;
   font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
   font-size: 12px;
   background-color:#B800FF;
  }
  .wrapper{
   width:100%;
   margin:0px;}
  .container{
   width:960px;
   margin:auto;
   background-color:#FFFFFF;}
  #select{
   margin-bottom:50px;
   margin-top:50px;}
  .selection{
   width:195px;
   font-size:17px;
   margin-left:30px;
   border:#000000 solid 2px;}
  #content{
   background-color:#BD2C2F;
   margin-top:50px;
   height:200px;
   width:100%;
   margin:0px;}
  #content div {
   margin:10px;
   box-sizing:border-box;}
  &lt;/style&gt;</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!doctype html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta charset="utf-8"&gt;
  &lt;title&gt;test 2&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div class="wrapper"&gt;
  &lt;div class="container"&gt;
  &lt;div id="select"&gt;
   &lt;form&gt;
    &lt;select id="numberimg" class="selection" title="select a number"&gt;
            &lt;option value="-1"&gt;insert number image&lt;/option&gt;
      &lt;option value="1"&gt;1&lt;/option&gt;
      &lt;option value="2"&gt;2&lt;/option&gt;
      &lt;option value="3"&gt;3&lt;/option&gt;
      &lt;option value="4"&gt;4&lt;/option&gt;
      &lt;option value="5"&gt;5&lt;/option&gt;
          &lt;/select&gt; 
          &lt;select id="numbercolumn" class="selection" title="select a number"&gt;
            &lt;option value="-1"&gt;insert number column &lt;/option&gt;
      &lt;option value="1"&gt;1&lt;/option&gt;
      &lt;option value="2"&gt;2&lt;/option&gt;
      &lt;option value="3"&gt;3&lt;/option&gt;
      &lt;option value="4"&gt;4&lt;/option&gt;
    &lt;/select&gt; 
          &lt;button onClick="start()"&gt;go&lt;/button&gt;
   &lt;/form&gt;
  &lt;/div&gt;
  &lt;div id="content"&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>When a function is deleted from the javascript code to work correctly, but does not run with the function codes</p>