Skip to content
Related Articles

Related Articles

jQuery Properties Complete Reference

Improve Article
Save Article
  • Last Updated : 28 Nov, 2022
Improve Article
Save Article

jQuery properties are used to do some specific operations. 

Syntax

$().Property

Example: This example uses jQuery.fx.off property to disable the animation

HTML




<!DOCTYPE html>
<html>
  
<head>
    <title>
        jQuery jQuery.fx.off property
    </title>
      
    <script src=
    </script>
      
    <style>
        .box {
            background:green;
            height:100px;
            width:100px;
            margin:50px;
        }
    </style>
</head>
  
<body>
    <center>
        <h1 style = "color:green;" >
            GeeksForGeeks
        </h1>
          
        <h2> jQuery.jQuery.fx.off property</h2>
          
        <button id="disable">
            jQuery.fx.off = true ( Disable )
        </button>
          
        <br><br>
          
        <button id="toggle">
            Toggle animation
        </button>
          
        <div class="box"></div>
          
        <!-- Script to use jQuery.fx.off property -->
        <script>
            $(document).ready(function() {
                $("#disable").click(function() {
                    jQuery.fx.off = true;
                });
                  
                $("#toggle").click(function() {
                    $("div").toggle("slow");
                });
            });
        </script>
    </center>
</body>
  
</html>


Output:

 

jQuery Properties Complete List:

jQuery Properties

Description

jQuery context Property The DOM node context contains the original passed to jQuery(), Which is a dom node context if there is no node passed then the context will be the document.
jQuery jquery Property The jquery property is used to return the jQuery version number.
jQuery length property The length property is used to count a number of the elements of the jQuery object.
jQuery jQuery.fx.off Property This is used to globally disable/enable all animations. Its default value is false which is used to allow the animation to run normally.
jQuery jQuery.support Property jQuery contains a collection of properties that are used to represent the different browser features or bugs.
jQuery jQuery.fx.interval Property This is used to modify the number of frames per second at which animations will run and to change the animation firing rate in milliseconds. Its default value is 13ms.

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!