 <p>You should build an url get parameter string:</p> <pre><code> &lt;script&gt; $(function() { var data = {kid:[]}; // we put here all checkbox value $("input[type=checkbox][checked]").each(function() { //iterate over all checked checkboxes data.kid.push($(this).attr('id')); //push the id of checkbox to data.kid array }); $("#kontakte_bezButton1_{kontakte_bez:rowNumber}").colorbox({ href:"testpage1.php?" + $.param(data), //create $_GET parameter string iframe:true, innerWidth:850, innerHeight:400, opacity:0.1, overlayClose:false }); }); &lt;/script&gt; </code></pre> <p>The $.param function (<a href="http://api.jquery.com/jQuery.param/" rel="nofollow">http://api.jquery.com/jQuery.param/</a>) generates get parameter string from an object. in this example the result like this:</p> <pre><code> kid[]=1&amp;kid[]=4&amp;.... (in urlencoded format: kid%5B%5D=1&amp;kid%5B%5D=4 ) </code></pre>