Open In App

jQuery Properties Complete Reference

Last Updated : 18 Apr, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

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=
"https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js">
    </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:

 Properties

Description

context Contains original value that passed to it.
jqueryReturn the jQuery version number.
lengthCount a number of the elements of the jQuery object.
fx.off Its default value is false which is used to allow the animation to run normally.
supportRepresent the different browser features or bugs.
fx.intervalIt is used to change the animation firing rate in milliseconds. Its default value is 13ms.

Next Article

Similar Reads