Q:

Convert three headers and content panels into an accordion. Initialize the accordion and specify the disabled option jquery UI

0

Convert three headers and content panels into an accordion. Initialize the accordion and specify the disabled option  jquery UI

Note : Accordion - Displays collapsible content panels for presenting information in a limited amount of space.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

HTML Code :











All the panels have disabled.jQueryjQuery is a fast, small, and feature-rich JavaScript library.jQuery UIjQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. jQuiry MobilejQuery Mobile is a HTML5-based user interface system designed to make responsive web sites and apps that are accessible on all smartphone, tablet and desktop devices


JavaScript Code :

$( "#divid" ).accordion({
  disabled: true
});

var disabled = $( "#divid" ).accordion( "option", "disabled" );
 
$( "#divid" ).accordion( "option", "disabled", true );

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now