`
wang_peng1
  • 浏览: 3904036 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

data attribute

    博客分类:
  • JQM
 
阅读更多
 http://html5doctor.com/html5-custom-data-attributes/ http://api.jquery.com/data/

<input type="range" class="mtslide" name="slider1" id="slider1" min="0" max="10" value="0" data-price="20.00" data-id="1">
<input type="range" class="mtslide" name="slider2" id="slider2" min="0" max="10" value="0" data-price="30.00" data-id="2">
<input type="range" class="mtslide" name="slider3" id="slider3" min="0" max="10" value="0"  data-price="50.00" data-id="3">


$('.mtslide').each(function (index, Element) {
    var obj = {
        id:  $(Element).data("price"),
        price: $(Element).data("price"),
        number: $(Element).val()
    };
    arr.push(obj);
});

 

分享到:
评论

相关推荐

    thymeleaf-extras-data-attribute-1.2.zip

    apache-config.zip,apache httpd配置文件的简单解析器apache http服务器配置文件的简单配置解析器

    siebel bookshelf

    considers each data attribute (such as product, account, and time period) as a separate dimension. The Siebel Data Warehouse does not contain every piece of data stored in a transactional database, ...

    JS无限级菜单

    使用js编写的一个菜单,js代码与html没有分开,阅读时可能稍有困难,需要...//绑定项目结果 PopMenu.DataAttribute = "childs";//子菜单的数据 xx.BindData(json);//绑定数据源 xx.Show();//显示菜单

    AD202 jpeg data and attribute merge

    ad202 jpeg compress chip data and attribute merge code

    JQuery_1.4_API开发手册

    (Bug) Changing an HTML5 data attribute after calling .data(‘foo’) no longer causes .data(‘foo’) to also change (#7223) (Bug) Fixed a bug where Opera didn’t give height/width of display: none ...

    jQuery最新1.4.4精简版+1.4中文手册

    (Bug) Changing an HTML5 data attribute after calling .data(‘foo’) no longer causes .data(‘foo’) to also change (#7223) (Bug) Fixed a bug where Opera didn’t give height/width of display: none ...

    Python Natural Language Processing

    Understand corpus analysis and different types of data attribute. Learn NLP using Python libraries such as NLTK, Polyglot, SpaCy, Standford CoreNLP and so on Learn about Features Extraction and ...

    pytorch 单机多GPU训练RNN遇到的问题

    如图示,会出现如AttributeError: ‘DataParallel’ object has no attribute ‘xxx’的错误。 原因:在使用net = torch.nn.DataParallel(net)之后,原来的net会被封装为新的net的module属性里。 解决方案:所有在...

    iec61850-7-3

    6公共数据属性级别(Common Data Attribute Classes)..............................................................................5 7公共数据级别规范(Common Data Class Specifications)…………………………...

    论文研究-An Efficient Ciphertext-Policy Attribute-Based Encryption Scheme with Attribute Adjunction/Revocation in Data Sharing System.pdf

    文件共享系统中属性可添加/撤销的属性基加密方案,李晖,郭利君,在原来密文策略属性加密方案的基础上,本文提出了一个高效、灵活的属性加密方案。该方案不仅减少了密钥和密文的长度,而且通过更

    Secure attribute-based data sharing forresource-limited users in cloud computing

    Data sharing becomes an ... As a potential technique for realizing fine-grained data sharing, attribute-based encryption (ABE) has drawn wide attentions. However,most of the existing ABE solut

    Category and Attribute Prediction Benchmark

    2016-08-08 The data and labels of the attribute prediction benchmark are released without encription (password). If Dropbox are not accessable, please download the dataset using Google Drive or Baidu ...

    html5的data-role的属性

    html5的data-role的属性,The jQuery Mobile framework uses HTML5 data- attributes to allow for markup-based initialization and configuration of widgets. These attributes are completely optional;...

    Attribute Weighting for Averaged One-Dependence Estimators

    We have conducted experiments on UCI benchmark data sets and made a comparison of accuracies between AODE and our proposed learners. The experimental results in our paper have shown that WAODE had ...

    jQuery-Visibly:插件可根据其他元素的值轻松显示元素

    选项clearOnHide: false , //Clear the data from the elements on hideregularExpression : false , //This determines if regular expression is to be used for the testattr : 'visibly' , //Data attribute to ...

    yii2-sortable:Yii2包装器用于可排序的http

    yii2可排序用于Sortable的Yii2包装器( ),一个用于在现代浏览器和触摸设备上重新排序拖放列表的极简...php $ items = [[ 'content' =&gt; 'item-1' , 'options' =&gt; [ 'data-id' =&gt; 'optional data attribute' ],

    Data Mining: A Tutorial-Based Primer, Second Edition

    The second edition contains tutorials for attribute selection, dealing with imbalanced data, outlier analysis, time series analysis, mining textual data, and more. The text provides in-depth ...

    IEC61850规约第二版

    在IEC61850中,数据的描述用服务器(Server)、逻辑设备(LD)、逻辑节点(LN)、数据对象(DO)、数据对象属性(DataAttribute)来构建。这种分层结构可以将设备的所有信息以标准化的格式描述出来,保证来自不同...

Global site tag (gtag.js) - Google Analytics