<script type="text/javascript">
function chckIsPrivate()
{
var isprivate = document.getElementById('{!$Component.theForm.searchresults.isprivate}').checked;
}
</script>
<apex:inputCheckbox id="isprivate" onclick="chckIsPrivate()" />
Now I want to pass the "isprivate" value from Javascript to my controller...help me on this ASAP