Skip to content
Related Articles

Related Articles

jQuery UI tabs hide Option

View Discussion
Improve Article
Save Article
  • Last Updated : 24 Mar, 2021

jQuery UI consists of GUI widgets, visual effects, and themes implemented using HTML, CSS, and jQuery. jQuery UI is great for building UI interfaces for the webpages. The jQuery UI tabs hide option is used to display the animation effect to hide the tab content. It accepts the different type of value i.e. Boolean or Number or String or Object.


$( ".selector" ).tabs({
  hide: { effect: "explode", duration: 1000 }

CDN Link: First, add jQuery UI scripts needed for your project.

<link rel=”stylesheet” href=”//”>
<script src=”//”></script>
<script src=”//”></script>



<!DOCTYPE html>
<html lang="en">
    <meta charset="utf-8">
    <link rel="stylesheet" href=
        .highlight {
            background: green;
        $(function () {
                hide: { effect: "explode", duration: 1000 }
    <h1 style="color: green;">GeeksforGeeks</h1>
    <h3>jQuery UI tabs hide option</h3>
    <div id="gfg">
            <li><a href="#gfg1">Tab 1</a></li>
            <li><a href="#gfg2">Tab 2</a></li>
            <li><a href="#gfg3">Tab 3</a></li>
        <div id="gfg1">
            <p>Welcome to GeeksforGeeks</p>
        <div id="gfg2">
        <div id="gfg3">
            <p>Welcome Geeks!</p>



My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!