As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
Hi,
Can you tell me what error you are getting with this?
Also, can you tell me more about your use case?
Regards,
Wani
Kinvey Support
Alexandre
$(document).ready(function () {
$('body').on('submit', '#tblList', function(e) {
// $("#alterar").on('submit',function (e){
//alert("0");
// $("#tblList tbody tr td").on('submit', function(e) {
e.preventDefault();
var _id = $("#_id").val();
var nome = $.trim($("#nome").val());
var idade = $.trim($("#idade").val());
var datanasc = $("#datanasc").val();
alert("0");
var promise = Kinvey.DataStore.update('cliente', {
_id : _id,
nome : JSON.stringify(nome),
idade : idade,
datanasc: datanasc
});
promise.then(function(entity) {
// console.log(_id);
//console.log(nome);
//console.log(idade);
//console.log(datanasc);
console.log("Cadastrado com Sucesso!");
//$("#status").html("Cadastrado com Sucesso!");
//$("#status").show();
//$("#status").fadeOut(4000);
$("#nome").val("");
$("#idade").val("");
$("#datanasc").val("");
}, function(error) {
console.log("Erro ao Inserir: " + error.description);
});
return false;
});