Convert three headers and content panels into an accordion. Initialize the accordion and specify the disabled option jquery UI
- جي كويري
- 2021-10-12
- mhanasmh00489829403
الأجوبة
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 );
أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال
معلومات ذات صلة