jQuery Values

程序名称:jQuery Values

授权协议: 未知

操作系统: 未知

开发语言:

jQuery Values 介绍

Makes it trivial to get/set values from any descendants of a DOM element(s),
not just input and select elements. Simply add “name” attribute(s) (as you do
for form elements) to the elements whose values you wish to retrieve or set
and call values() on a parent selection to retrieve those keys/values in a
handy little hash object.

To get all values:
var values = $('.parent').values();
To set values:
$('.parent').values({ foo: 'bar', answer: 42 });
To get one value:
var foo = $('.parent').values('foo');
To set one value:
$('.parent').values('foo', 'bar');

For more details on all available functions and configuration options, see the
comments in the source.

jQuery Values 官网

http://plugins.jquery.com/project/Values

相关编程语言

多功能下拉选择插件 SelectPage 简洁而强大的下拉分...
AutoComplete 是一个 jQuery Mobile 的插件,用于实...
Combogrid 是一个jQuery插件用于为输入框添加高级自...
Autobox2这个jQuery插件,可以用于创建类似于Facebo...
Link Scraper TextBox 是一个文本框的扩展插件,当你...
Awesomplete 超小超好用的超漂亮的 autocomplete 框...