title: jQuery only work for first checkbox?
body: <p>why this script:</p>
  
  <pre><code>$("#generujbox").change(function ()
  {
     var idcheck = $(this).val();
  
     if ($(this).is(":checked"))
     {
        $("p").text(idcheck);
     }
     else
     {
        $("p").text("unchecked");
     }
  });
  </code></pre>
  
  <p>Only working for first checkbox on website ?
  I have many checkbox with id = generujbox</p>