📌  相关文章
📜  如何使用 jQuery Mobile 使 Mini Form 元素水平分组按钮?

📅  最后修改于: 2021-11-24 04:27:19             🧑  作者: Mango

jQuery Mobile 是一种基于 Web 的技术,用于制作可在所有智能手机、平板电脑和台式机上访问的响应式内容。在本文中,我们将使用 jQuery Mobile 制作 Mini Form 元素水平分组按钮。

方法:首先,添加您的项目所需的 jQuery Mobile 脚本。

示例 1:

HTML


  

    
  
    
  
    

  

    
        

GeeksforGeeks

           

            Mini Form element Horizontal              grouped button using jQuery Mobile         

    
       
                                                                
  


HTML


  

    
  
    
  
    

  

    
        

GeeksforGeeks

           

            Mini Form element Horizontal              grouped button using jQuery Mobile         

    
       
                                plus                                          minus                                          star              
  


输出:

示例 2:

HTML



  

    
  
    
  
    

  

    
        

GeeksforGeeks

           

            Mini Form element Horizontal              grouped button using jQuery Mobile         

    
       
                                plus                                          minus                                          star              
  

输出: