jsgarlata Posted April 12, 2017 Report Share Posted April 12, 2017 Hello, I am trying to use caspio tabs to show different datapages on each tab. I need to ability to limit what tabs are visible based on fields in a Authentication table. For example: I am using 3 tabs, Curriculum, Edit Curriculum, Manage curriculum categories. i have yes/no fields in the user table for all 3 tabs. So if a user does not have the fields "edit curriculum and Manage curr categories" as YES, then i want those 2 tabs to be hidden. I hope someone can help me with this. Thank you Quote Link to comment Share on other sites More sharing options...
MayMusic Posted July 3, 2017 Report Share Posted July 3, 2017 You should add ID to your UL for instance: <ul id="mylist" class=""> Then the line below will hide the very first Li document.getElementById("mylist").children[0].style.display = "none"; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.