{"id":2391,"date":"2022-08-30T15:24:28","date_gmt":"2022-08-30T15:24:28","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/05\/problem-about-jquery-1-10-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:24:28","modified_gmt":"2022-08-30T15:24:28","slug":"problem-about-jquery-1-10-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/problem-about-jquery-1-10-collection-of-common-programming-errors\/","title":{"rendered":"problem about jquery-1.10-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/c865f94187e48bb3500f4b478b468443?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser1624552<br \/>\njquery jquery-ajax asp.net-mvc-4 jquery-1.10<br \/>\nFrom a jQuery ajax call I perform a call to an action in the controller:function doSomTask(task) {return ajax({url: &#8216;\/MyController\/MyAction\/&#8217;,data: { param: someParam },beforeSend: UpdateProgress(),type: &#8216;POST&#8217;}).then(function (data) { buildToolTipText(task, data);UpdateImageOK(task.Name);return ok(createObject(&#8220;status&#8221;, &#8220;ok&#8221;, &#8220;op&#8221;, &#8220;doTask&#8221;, &#8220;task&#8221;, task,&#8221;data&#8221;, &#8220;OK&#8221;));}, function (data) {buildToolTipText(task, $.parseJSON(data.responseText));UpdateImageNOK(task.Name);return ok(createObj<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2014-01-05 22:43:40. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>user1624552 jquery jquery-ajax asp.net-mvc-4 jquery-1.10 From a jQuery ajax call I perform a call to an action in the controller:function doSomTask(task) {return ajax({url: &#8216;\/MyController\/MyAction\/&#8217;,data: { param: someParam },beforeSend: UpdateProgress(),type: &#8216;POST&#8217;}).then(function (data) { buildToolTipText(task, data);UpdateImageOK(task.Name);return ok(createObject(&#8220;status&#8221;, &#8220;ok&#8221;, &#8220;op&#8221;, &#8220;doTask&#8221;, &#8220;task&#8221;, task,&#8221;data&#8221;, &#8220;OK&#8221;));}, function (data) {buildToolTipText(task, $.parseJSON(data.responseText));UpdateImageNOK(task.Name);return ok(createObj Originally posted 2014-01-05 22:43:40.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2391","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2391"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2391\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}