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

mk-databridge

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mk-databridge

A jQuery plugin to read/set data to forms. Supports nested objects, boolean and array checkboxes, on fly data formatting, non-input elements.

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

mk-databridge

Databridge is a serialization jQuery plugin to read data from forms, and to set data to forms. Supports nested objects, boolean and array checkboxes, on fly data formatting and conversion. Works with any elements with attributes 'name' or 'data-name', including non-input elements.

Demo

Inclusion

Include script into your page:

<script src="path/to/plugin/mk-databridge.min.js" ></script>

Basic usage

To set data call databridge with data object:

$('.form-container').databridge(dataObject);

To get data call databridge with no arguments:

var dataObject = $('.form-container').databridge();

Details and Demo

Keywords

jquery-plugin

FAQs

Package last updated on 29 Dec 2016

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