I'm iterating thru some checkbox values and checking if they are checked and sending some values furter on in the code, however thats beside the point - working well. BUT - for styling purposes I would like to HIDE the actual checkbox (can still click it, I assume, with the label). Hiding it, however, makes it not checkable. Anyway around that? Hiding the actual checkbox but still using it so to speak?
<label>
<div class="filterChoices" onClick="showhide(\'checkedIconProd'.$prodid.'\');ajaxcall(\'filtereditems\', \'updateItemsFromFilter.php?filterno=3&no='.$this->pageContent->getNo().'&sub='.$this->pageContent->getSub().'&sub2='.$this->pageContent->getSub2().'&producer='.$_GET["producer"].'&category='.$_GET["category"].'&segment='.$_GET["segment"].'&shopid='.$_GET["shopid"].'&varemenu='.$_GET["varemenu"].'&q=\'+getCheckBoxValues(\'producerfilter\'));return(false);"><input autocomplete="off" type="checkbox" name="producerfilter" value="'.$prodid.'" id="producerfilter'.$prodid.'" style="display:none;">
'.$prodname.'
<span align="right" style="text-align:right;">
<img id="checkedIconProd'.$prodid.'" border="0" src="img/checkedIcon.png" style="display:none;">
</span>
</div>
</label>