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;
}