امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبVote count: 0 I'm a newbie in JS and have a little to no knowledge about asynchronous program and promise. I have a problem in getting result from post PHP as written in this code: showModalLink = function(d, i) { $('#myModalLabel').text(d.source.name + ' - ' + d.target.name); $('#modalJum').text(d.jumlahlelangsama); var lelang = d.daftarlelangsama.split(", "); var lelangmodal = []; var promises = []; for (var i = 0; i < lelang.length; i++) { querystring = "select pemenang from lelang where id = " + lelang[i]; console.log(querystring); var queryobj = { query: querystring }; promises.push($.post('indikasi3modal.php', queryobj)); } Promise.all(promises).then(function(results) { if (results[i] ...
ادامه مطلبVote count: 0 Good day I am trying to access a Payment Method in a WordPress site, but it is in a form of a Json object, or can be converted to xml. Obviously the project was developed in Java. So my question is how do I now integrate it into my wordpress site as a payment gateway? Thanks in advance asked 27 secs agouser2990237 Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I have created one json Object Using java and it's values are given below {"result":[{"ID":7252,"Age":52,"Date":"2015-11-25","DAY":"Wednesday","Gender":"M"},{"ID":7252,"Age":52,"Date":"2015-12-05","DAY":"Saturday","Gender":"M"},....],"status":"ok"} I need to group data as per date,required format is given below {"result":[ {"2015-11-25":[{"ID":7252,"Age":52,"Date":"2015-11-25","DAY":"Wednesday","Gender":"F"}{"ID":7252,"Age":52,"Date":"2015-11-25","DAY":"Wednesday","Gender":"M"}]},{"2015-10-25":[{"ID":7252,"Age":52,"Date":"2015-10-25","DAY":"Tuesday","Gender":"F"}{"ID":7252,"Age":52,"Date":"2015-10-25","DAY":"Tuesday","Gender":"M"}]},"status":"ok"} Basically i need group all sam...
ادامه مطلبVote count: 0 Having a common interface with a method signature as below. Function for long it is implemented as below Function getMapping () { retu JsonNode::longValue; } How this can be implemented for JsnonNode to Date .There is no direct api to get Date from JsonNode Function getMapping () { } asked 1 min agoRaj Let's block ads! بخوانید...
ادامه مطلبVote count: 0 Suppose i have an array looklike this var users = [ { 'users': [{user:'harry',user:'potter',user:'jiy',user:'weasly'}], 'age': 36, 'active': true }, { 'users': [{user:'brad',user:'pit',user:'angelena',user:'joly'}], 'age': 40, 'active': false } ]; From this i want to select json with condition users object match multiple values eg: if the names are harry and angelena the output becomes this { 'users': [{user:'harry',user:'potter',user:'jiy',user:'weasly'}], 'age': 36, 'active': true }, { 'users': [{user:'brad',user:'pit',user:'angelena',user:'joly'}], 'age': 40, 'active': false } Eg: if the name is harry output becomes this { 'users': [{user:'harry',user:'potter',user:'jiy',use...
ادامه مطلب