|
@@ -189,13 +189,14 @@ $(document).on("click", ".close", function (event) {
|
|
|
});
|
|
|
|
|
|
$.fn.serializeObject = function () {
|
|
|
- alert('serializeObject()'); // test
|
|
|
var o = {};
|
|
|
var a = this.serializeArray();
|
|
|
// o["id"] = 0;
|
|
|
// o["time_stamp"] = "";
|
|
|
$.each(a, function () {
|
|
|
if (o[this.name]) {
|
|
|
+ console.log(o[this.name], o[this.value]); // test
|
|
|
+
|
|
|
if (!o[this.name].push) {
|
|
|
o[this.name] = [o[this.name]];
|
|
|
}
|