title: Checkbox value doesnt show when a customer is clicked
body: <p>I am echoing to my website possible checkbox values that are in a table JobChoose like this</p>
  
  <pre><code>&lt;?php
  $got = mysql_query("SELECT * FROM JobChoose");
  $checkbox = '';
  while ($row = mysql_fetch_assoc($got)) {
      $checkbox .= '&lt;li&gt;&lt;input type="checkbox" id="Jobselect" name="Job" value = "' . $row['Job'] . '"&gt;' . $row['Job'] . '&lt;/input&gt;&lt;/li&gt;';
  } ?&gt; 
  
  &lt;?php echo $checkbox;?&gt; 
  </code></pre>
  
  <p>When a checkbox is selected is inserted to a customer info.
  But when i am trying to to get selected value back nothing appears when i click to a customer although it appears in mysql database</p>
  
  <pre><code>echo "&lt;td align='center' class='hidden'&gt;". $row["Job"] ."&lt;/td&gt;";
  
  &lt;script type='text/javascript'&gt;
      $('#tabled').on('click', 'tr', function () {
          $("#Jobselect").val($(this).find("td").eq(19).html());
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>Also i fetch search results into a table like this </p>
  
  <pre><code>&lt;?php
  
  
    $sql = "SELECT * FROM new_record WHERE surname LIKE
   '%".$_POST["search"]."%' or name LIKE'%".$_POST["search"]."%' or
   barcode LIKE'%".$_POST["search"]."%'";    $result =
   mysqli_query($connect, $sql);    if(mysqli_num_rows($result) &gt; 0)    {
  
  
       while($row = $result-&gt;fetch_assoc()){
  
                         echo "&lt;tr&gt;";
                          echo "&lt;td &gt;". $row["id"] ."&lt;/td&gt;";
                         echo "&lt;td&gt;". $row["surname"] ."&lt;/td&gt;";
                        echo "&lt;td&gt;". $row["name"] ."&lt;/td&gt;";
                        echo "&lt;td&gt;". $row["company_name"] ."&lt;/td&gt;";
                        echo "&lt;td&gt;". $row["firm"] ."&lt;/td&gt;";
                          echo "&lt;td&gt;". $row["address"] ."&lt;/td&gt;";
                        echo "&lt;td&gt;". $row["town"] ."&lt;/td&gt;";
                          echo "&lt;td&gt;". $row["tk"] ."&lt;/td&gt;";
                            echo "&lt;td&gt;". $row["country"] ."&lt;/td&gt;";
                            echo "&lt;td&gt;". $row["telephone"] ."&lt;/td&gt;";
                           echo "&lt;td&gt;". $row["fax"] ."&lt;/td&gt;";
                             echo "&lt;td&gt;". $row["mobile"] ."&lt;/td&gt;";
                               echo "&lt;td&gt;". $row["mail"] ."&lt;/td&gt;";
                                 echo "&lt;td&gt;". $row["web_site"] ."&lt;/td&gt;";
                                 echo "&lt;td&gt;". $row["barcode"] ."&lt;/td&gt;";
                           echo "&lt;td&gt;". $row["visitors"] ."&lt;/td&gt;";
                               echo "&lt;td align='center' class='hidden'&gt;". $row["custId"] ."&lt;/td&gt;";
                             echo "&lt;td align='center' class='hidden'&gt;". $row["trn_date"] ."&lt;/td&gt;"; echo "&lt;td align='center' class='hidden'&gt;".
   $row["HowToFindUs"] ."&lt;/td&gt;"; echo "&lt;td align='center'
   class='hidden'&gt;". $row["Job"] ."&lt;/td&gt;";
                         echo "&lt;/tr&gt;";
         }    }    else    {  
         echo 'Data Not Found';    }    ?&gt;
  </code></pre>