Hi, how to hide the panel inside the accordion created using JQuery?
js files:
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="ui.core.js"></script>
<script type="text/javascript" src="ui.accordion.js"></script>
code:
jQuery(document).ready(function() {
$(document).ready(function() {
$("#accordion").accordion();
});
Needs:
According to the user login type the panel should hide(including the heading).
Example:
In my example there are three panels inside the accordion. Only i want to show two of them to the user. How to achieve this?