Open In App

jQWidgets jqxRibbon removeAt() Method

Last Updated : 29 Sep, 2021
Improve
Improve
Like Article
Like
Save
Share
Report

jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful and optimized framework, platform-independent, and widely supported. The jqxRibbon is a jQuery widget that can be used as a tabbed toolbar or mega menu.

The removeAt() method is used to remove an item from the ribbon widget using the given index number. It accepts a single parameter index of Number type and does not return any value.

Syntax:

$('#jqxRibbon').jqxRibbon('removeAt', index);

Linked Files: Download jQWidgets from the given link. In the HTML file, locate the script files in the downloaded folder.

<link rel=”stylesheet” href=”jqwidgets/styles/jqx.base.css” type=”text/css” />
<script type=”text/javascript” src=”scripts/jquery-1.11.1.min.js”></script>
<script type=”text/javascript” src=”jqwidgets/jqxcore.js”></script>
<script type=”text/javascript” src=”jqwidgets/jqx-all.js”></script>
<script type=”text/javascript” src=”jqwidgets/jqxribbon.js”></script>

Example: The below example illustrates the jQWidgets jqxRibbon removeAt() method.

HTML




<!DOCTYPE html>
<html lang="en">
  <head>
    <link
      rel="stylesheet"
      href="jqwidgets/styles/jqx.base.css"
      type="text/css" />
    <link
      rel="stylesheet"
      href="jqwidgets/styles/jqx.energyblue.css"
      type="text/css" />
    <script type="text/javascript" 
            src="scripts/jquery-1.11.1.min.js">
    </script>
    <script type="text/javascript" 
            src="jqwidgets/jqx-all.js">
    </script>
    <script type="text/javascript" 
            src="jqwidgets/jqxcore.js">
    </script>
    <script type="text/javascript" 
            src="jqwidgets/jqxribbon.js">
    </script>
  </head>
  
  <body>
    <center>
      <h1 style="color: green">GeeksforGeeks</h1>
      <h3>jQWidgets jqxRibbon removeAt() Method</h3>
    </center>
  
    <div id="jqxRibbon" 
         style="margin: auto">
      <ul>
        <li>GeeksforGeeks</li>
        <li>Web Technology</li>
        <li>Programming Language</li>
      </ul>
   <div>
        <div>
          <h1>GeeksforGeeks</h1>
  
          <nav>
            <a href="#">Home</a> | 
            <a href="#">Interview</a> |
            <a href="#">Languages</a>
          </nav>
        </div>
  
        <div>
          <h1>Web Technology</h1>
  
          <nav>
            <a href="#">HTML</a> | 
            <a href="#">CSS</a> |
            <a href="#">JavaScript</a>
          </nav>
        </div>
  
        <div>
          <h1>Programming Language</h1>
  
          <nav>
            <a href="#">C Programming</a> | 
            <a href="#">C++ Programming</a> |
            <a href="#">Java Programming</a>
          </nav>
        </div>
      </div>
    </div>
  
    <center>
      <input
        type="button"
        id="jqxBtn"
        value="Remove Item At Given Index"
        style="padding: 5px 15px; 
               margin-top: 15px" />
    </center>
  
    <script type="text/javascript">
      $(document).ready(function () {
        $("#jqxRibbon").jqxRibbon({
          width: 450,
          height: 250,
          reorder: true,
        });
  
        $("#jqxBtn").on("click", function () {
          $("#jqxRibbon").jqxRibbon("removeAt", 2);
        });
      });
    </script>
  </body>
</html>


Output:

Reference: https://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxribbon/jquery-ribbon-api.htm



Similar Reads

jQWidgets jqxComboBox removeAt() Method
jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. The jqxComboBox is used to represent a jQuery Combobox widget that contains an input field with autocomplete functionality and a list of selectable items displayed i
2 min read
jQWidgets jqxListBox removeAt() Method
jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. The jqxListBox is used to illustrate a jQuery ListBox widget which comprises a list of electable elements. The removeAt() method is used to remove the listbox's item
2 min read
jQWidgets jqxTabs removeAt() Method
jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful and optimized framework, platform-independent, and widely supported. The jqxTabs represents a jQuery Tab widget that is used for breaking the content into multiple sections. The &lt;li&gt; elements are used for tab title and &lt;di
2 min read
jQWidgets jqxDropDownList removeAt() Method
jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. The jqxDropDownList widget is a jQuery drop-down list that contains a list of selectable items displayed in the drop-down list. The removeAt() method is used to remo
2 min read
jQWidgets jqxTagCloud removeAt() Method
jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. The jqxTagCloud is used for displaying a set of user-generated tags that go with the articles, posts, or videos on a website. The removeAt() method is used for delet
2 min read
Ember.js MutableArray removeAt() Method
Ember.js is an open-source JavaScript framework used for developing large client-side web applications which is based on Model-View-Controller (MVC) architecture. Ember.js is one of the most widely used front-end application frameworks. It is made to speed up development and increase productivity. Currently, it is utilized by a large number of webs
5 min read
Ember.js Ember.NativeArray removeAt() Method
Ember.js is an open-source JavaScript framework used for developing large client-side web applications which is based on Model-View-Controller (MVC) architecture. Ember.js is one of the most widely used front-end application frameworks. It is made to speed up development and increase productivity. Currently, it is utilized by a large number of webs
5 min read
Ember.js ArrayProxy removeAt() Method
Ember.js is an open-source JavaScript framework used for developing large client-side web applications which are based on Model-View-Controller (MVC) architecture. Ember.js is one of the most widely used front-end application frameworks. It is made to speed up development and increase productivity. Currently, it is utilized by a large number of web
4 min read
jQWidgets jqxRibbon render() Method
jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful and optimized framework, platform-independent, and widely supported. The jqxRibbon is a jQuery widget that can be used as a tabbed toolbar or mega menu. The render() method is used to render the jqxRibbon widget on the screen. It d
2 min read
jQWidgets jqxRibbon refresh() Method
jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful and optimized framework, platform-independent, and widely supported. The jqxRibbon is a jQuery widget that can be used as a tabbed toolbar or mega menu. The refresh() method is used to refreshes the jqxRibbon widget. It does not ac
2 min read