Size: a a a

2020 October 23

CM

Chingiz Mamiyev in pro.js
I0bSTeR
function mySequence() {
   $.get("myservlet",{},function (r) {
       show(r);
       $.get("myservlet?chain=" + r.expected, {}, function (r) {
           show(r);
           $.get("myservlet?chain=" + r.expected, {}, function (r) {
               show(r);
               $.get("myservlet?chain=" + r.expected, {}, function (r) {
                   show(r);
                   $.get("myservlet?chain=" + r.expected, {}, function (r) {
                       console.log("Number of steps advanced is " + r.steps);
                       show(r);
                   }, "json");
               }, "json");
           }, "json");
       }, "json");
   }, "json");
}
источник

I

I0bSTeR in pro.js
в codepen?
источник

I

I0bSTeR in pro.js
или gist?
источник

I

I0bSTeR in pro.js
просто так дуал будет быстрее
источник

N

Nillcon in pro.js
I0bSTeR
let request = new Promise(function (resolve, reject) {
       $.get("myservlet",{}, function (response) {
           show(response);
           resolve(response);
       })
   }).then(function (result) {
       $.get(myservlet?chain=${result.expected},{}, function (response) {
           show(response);
           resolve(response);
       })
   }).then(function (result) {
       $.get(myservlet?chain=${result.expected},{}, function (response) {
           show(response);
           resolve(response);
       })
   }).then(function (result) {
       $.get(myservlet?chain=${result.expected},{}, function (response) {
           show(response);
           resolve(response);
       })
   }).then(function (result) {
       $.get(myservlet?chain=${result.expected},{}, function (response) {
           show(response);
           resolve(response);
       })
   }).finally(function (result) {
       console.log("Number of steps advanced is " + result.steps);
       show(result);
   })
Больно смотреть
источник

CM

Chingiz Mamiyev in pro.js
Юзай fetch
источник

I

I0bSTeR in pro.js
нужен ajax
источник

I

I0bSTeR in pro.js
task такой
источник

I

I0bSTeR in pro.js
бэк еще на java spring
источник

CM

Chingiz Mamiyev in pro.js
I0bSTeR
нужен ajax
А fetch это шо?
источник

I

I0bSTeR in pro.js
вроде нативная фигня самого js
источник

I

I0bSTeR in pro.js
имею ввиду нужен $.get
источник

CM

Chingiz Mamiyev in pro.js
I0bSTeR
вроде нативная фигня самого js
Нативный http клиент
источник

I

I0bSTeR in pro.js
ну да
источник

CM

Chingiz Mamiyev in pro.js
I0bSTeR
имею ввиду нужен $.get
На этом мои полномочия закончились
источник

CM

Chingiz Mamiyev in pro.js
источник

t

th.witness in pro.js
I0bSTeR
вроде нативная фигня самого js
Нативная фигня?
источник

t

th.witness in pro.js
А что насчëт xhr?
источник

I

I0bSTeR in pro.js
это не суть
источник

I

I0bSTeR in pro.js
fetch вроде внутрнее же?
источник