zoukankan      html  css  js  c++  java
  • BindTools Demo 1

      (Id is ‘name’)

     (Id is ‘birthday’)

      (Id is ‘sex’)

     CM (Id is 'hight)

     (Id is 'teacher_name')

     (Id is 'teacher_phone')

    How to Initialize and bind to target Panel?

     1: var data = {
     2: name: "leo",
     3: heigh: 150,
     4: sex: ["male", "female", "female"],
     5: birthday: new Date(1999, 1, 1),
     6: teacher: {
     7: name: "teacher's Name",
     8: phone: "teacher's phone"
     9: }
     10: }
     11: $("#target").bindTool().bindTool("bind", data);

    How To Get the Json Object from target Panel? 

     1: var jsonObject = $("#target").bindTool("collect");
  • 相关阅读:
    project
    类欧几里得算法
    还不熟悉的内容
    Hall定理
    FWT学习笔记
    最小树形图
    BZOJ 3027 [Ceoi2004]Sweet
    多项式除法
    VUE 计算属性和侦听器
    VUE 模板语法
  • 原文地址:https://www.cnblogs.com/fantasylu/p/1592590.html
Copyright © 2011-2022 走看看