Open In App

JQuery hasData() method

This hasData() method in JQuery is used to determine whether an element has any jQuery data associated with it. This data may be text, event associated with element. There are two examples discussed below:

Syntax:

jQuery.hasData(element)

Arguments:


Article Tags :