jQuery jquery Property (original) (raw)

Last Updated : 11 Jul, 2023

The **jquery property is used to return the jQuery version number.

**Syntax

$().jquery

**Example: Return the version number.

html `

<script>
    $(document).ready(function () {

        $("button").on(
            "click", function () {
                let cu_version = $().jquery;

                alert("The running jQuery version is: "
                    + cu_version);
            });
    });
</script>

Geeks for Geeks

Check

`

**Output:

jquery-56