📜  jQuery UI 手风琴 enable() 方法

📅  最后修改于: 2022-05-13 01:55:57.066000             🧑  作者: Mango

jQuery UI 手风琴 enable() 方法

jQuery UI由 GUI 小部件、视觉效果和使用 HTML、CSS 和 jQuery 实现的主题组成。 jQuery UI 非常适合为网页构建 UI 界面。

jQuery UI Accordion enable() 方法用于启用禁用的小部件。它不接受任何参数。

句法:

$( ".selector" ).accordion( "enable" );

CDN 链接:首先,添加项目所需的 jQuery UI 脚本。

示例:此示例描述了 jQuery UI Accordion enable() 方法的使用。

HTML



    
    
    
    
    
  
    
  
    

  

    

        GeeksforGeeks     

       

jQuery UI Accordion enable() Method

       
        

HTML

        
            HTML stands for HyperText Markup Language.             It is used to design web pages using a             markup language. HTML is the combination             of Hypertext and Markup language. Hypertext             defines the link between the web pages.         
           

CSS

        
            Cascading Style Sheets, fondly referred             to as CSS, is a simply designed language             intended to simplify the process of making             web pages presentable. CSS allows you to             apply styles to web pages. More importantly,             CSS enables you to do this independent of             the HTML that makes up each web page.         
           

JavaScript

        
            JavaScript is a lightweight, cross-platform,             and interpreted scripting language. It is             well-known for the development of web pages,             many non-browser environments also use it.             JavaScript can be used for Client-side             developments as well as Server-side             developments.         
    
    
          


输出:

参考: https://api.jqueryui.com/accordion/#method-enable