I can get the visualforce page to hide the input field but I'm unsure how to hide the associated label. How can I hide the label as well?
<apex:inputField value="{!Fiscal_Year__c.name}" onclick="test();"/>
<apex:pageBlockSectionItem id="isCurrentQ">
<apex:outputLabel value="is Current" for="isCurrent"/>
<apex:inputField value="{!Fiscal_Year__c.Is_Current__c}" id="isCurrent"/>
</apex:pageBlockSectionItem>
</apex:pageBlockSection>
</apex:pageblock>
</apex:form>
<apex:includeScript value="{! $Resource.jQuery }"/>
<script type="text/javascript">
function test(){
$('[id$="isCurrentQ"]').hide();
}
</script>