如何在kendoMultiSelect上使用kendotooltip?

时间:2015-12-28 13:36:56

标签: kendo-multiselect

Kendotooltip没有使用kendoMultiSelect?

var mytable = [];
function Tbl() {
        var id = document.getElementById("id").value;
    var name = document.getElementById("name").value;
    var gender = document.getElementById("gender").value;
    var address = document.getElementById("address").value;
    var email = document.getElementById("email").value;
    var obj = {
        "id": id,
      "name": name,
      "gender": gender,
      "address": address,
      "email": email
    };
    mytable.push(obj);
    //create table
    var html = "<table>";
    mytable.forEach(function(entry) {
        html += "<tr>";
        for (var k in entry){
                html += "<td>" + entry[k] + "</td>";
        }
        html += "</tr>";
    });
    html += "</table>";
    document.getElementById("result").innerHTML = html;
}

0 个答案:

没有答案