Convert three headers and content panels into an accordion. Convert three headers and content panels into an accordion. Initialize the accordion and active the second option using jquery UI
- جي كويري
- 2021-10-12
- mhanasmh00489829403
الأجوبة
HTML Code:
ht
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:
$( "#accordion" ).accordion({
active: 1
});
var active = $( "#accordion" ).accordion( "option", "active" );
$( "#accordion" ).accordion( "option", "active", 1 );
أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال
معلومات ذات صلة