close
The Wayback Machine - https://web.archive.org/web/20231202093705/https://www.geeksforgeeks.org/jquery-properties-complete-reference/
Open In App
Related Articles

jQuery Properties Complete Reference

Improve Article
Improve
Save Article
Save
Like Article
Like

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:

BERJAYA

 

jQuery Properties Complete List:

 Properties

Description

Example

context  Contains original value that passed to it.
Try

jquery Return the jQuery version number.
Try

length Count a number of the elements of the jQuery object.
Try

fx.off  Its default value is false which is used to allow the animation to run normally.
Try

support Represent the different browser features or bugs.
Try

fx.interval It is used to change the animation firing rate in milliseconds. Its default value is 13ms.
Try


Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 05 Jul, 2023
Like Article
Save Article
Previous
Next
Similar Reads
Complete Tutorials