+ Start a Discussion
boBNunnyboBNunny 

VisualForce - cannot select Tabs

I know it must be something dumb, but I have a simple VF Page to start with that won't allow me to change tabs.  Any ideas?

<apex:page controller="ManagementController" title="Management" docType="html-5.0">
    <apex:pageMessages id="PageMessages"/>
    <apex:form id="mainForm">
        <apex:tabPanel id="tabMainPanel" switchType="client" selectedTab="MasterMembers" >
            <apex:tab id="tabMasterMembers" label="Master Members" name="MasterMembers">
            </apex:tab>
            <apex:tab id="tabDetails" label="Details" name="Details">
            </apex:tab>
        </apex:tabPanel>
    </apex:form>
</apex:page>
Best Answer chosen by boBNunny
boBNunnyboBNunny

I actually found my own answer.  I had an includeScript for being to highlight rows later on that when I remove it, it works.  But the question is why is that impacting the tabs, and is there a better one to use in place of it?

 

<apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js" />

All Answers

SwethaSwetha (Salesforce Developers) 
HI boBNunny,
Can you elaborate on what you meant by it won't allow to change tabs? Does it give any error? I tried on my org and could suceed with this code.Thanks
boBNunnyboBNunny

I actually found my own answer.  I had an includeScript for being to highlight rows later on that when I remove it, it works.  But the question is why is that impacting the tabs, and is there a better one to use in place of it?

 

<apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js" />

This was selected as the best answer
boBNunnyboBNunny
I found that the includeScript I had for googleapi was causing this. Possibly it is not valid any longer. Thanx!