New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

jquery-dirty

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery-dirty

A very dirty jQuery plugin to tell you if any input in a collection has changed its value.

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

Introduction

Struggling trying to determine if any element in a collection has changed its original value? Then your problems are gone! Once you load this plug-in along with jQuery you can simply do things like this:

$('form').submit(function(event) {
    var that = $(this);

    if (!that.dirty()) {
        event.preventDefault();
    }
});

If it's either not enough or you found any bug in this plug-in, please, let me know creating an issue here. I appreciate your help!

Dependencies

  • jQuery

Keywords

jquery

FAQs

Package last updated on 11 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts