How to write the Customize functionality code in jquery

Vivek.Ramapuram
Posted by Vivek.Ramapuram under jQuery category on | Points: 40 | Views : 318
<script>
$(function () {
var icons = {
header: "ui-icon-circle-arrow-e",
activeHeader: "ui-icon-circle-arrow-s"
};
$("#accordion").accordion({
icons: icons
});
$("#toggle").button().click(function () {
if ($("#accordion").accordion("option", "icons")) {
$("#accordion").accordion("option", "icons", null);
} else {
$("#accordion").accordion("option", "icons", icons);
}
});
});
</script>

Comments or Responses

Login to post response