jQWidgets Forums

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts

  • bigears
    Member

    the field is lastappt with DATETIME format.

    How should I change this to suit the DATETIME format.

    updaterow: function (rowid, rowdata, commit) {
    // synchronize with the server – send update command
    var data = “update=true&firstname=” + rowdata.firstname + “&lastname=” + rowdata.lastname + “&lastappt=” + rowdata.lastappt + “&dob=” + rowdata.dob;
    data = data + “&address1=” + rowdata.address1 + “&city=” + rowdata.city + “&state=” + rowdata.state + “&postcode=” + rowdata.postcode;
    data = data + “&customers_id=” + rowdata.customers_id;

    $.ajax({
    dataType: ‘json’,
    url: ‘data.php’,
    data: data,
    success: function (data, status, xhr) {
    // update command is executed.
    commit(true);
    }
    });
    }


    bigears
    Member

    I sorted it out with Postgres. Thanks

Viewing 2 posts - 1 through 2 (of 2 total)