Timeline for answer to How do I return the response from an asynchronous call? by cocco
Current License: CC BY-SA 4.0
Post Revisions
30 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Mar 6, 2024 at 20:43 | history | suggested | Community Bot | CC BY-SA 4.0 |
Fixed grammar and corrected spelling.
|
| Mar 5, 2024 at 6:28 | review | Suggested edits | |||
| S Mar 6, 2024 at 20:43 | |||||
| Apr 9, 2021 at 11:57 | history | edited | Peter Mortensen | CC BY-SA 4.0 |
Active reading [<https://en.wikipedia.org/wiki/POST_%28HTTP%29> <https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods>].
|
| Dec 10, 2018 at 9:08 | history | edited | Quentin | CC BY-SA 4.0 |
added 112 characters in body
|
| S Dec 10, 2018 at 7:01 | history | edited | Tyrone Wilson | CC BY-SA 4.0 |
corrected spelling, fixed grammer.
|
| S Dec 10, 2018 at 7:01 | history | suggested | Sayed Mohd Ali | CC BY-SA 4.0 |
corrected spelling, fixed grammer.
|
| Dec 10, 2018 at 5:47 | review | Suggested edits | |||
| S Dec 10, 2018 at 7:01 | |||||
| S Oct 18, 2017 at 9:22 | history | suggested | Farzad Karimi | CC BY-SA 3.0 |
improved syntax
|
| Oct 18, 2017 at 7:47 | review | Suggested edits | |||
| S Oct 18, 2017 at 9:22 | |||||
| Oct 8, 2017 at 6:20 | comment | added | stone | @cocco So you wrote misleading, unreadable code in a SO answer in order to save a few keystrokes? Please don't do that. | |
| Jan 15, 2017 at 8:27 | history | edited | clearlight | CC BY-SA 3.0 |
added 39 characters in body
|
| Dec 17, 2016 at 10:51 | history | edited | Peter Mortensen | CC BY-SA 3.0 |
Copy edited (e.g. ref. <http://www.wikihow.com/Use-You%27re-and-Your>).
|
| Dec 29, 2014 at 19:41 | history | edited | Wilfredo P | CC BY-SA 3.0 |
Felix Kling name fixed.
|
| Sep 22, 2014 at 22:07 | history | edited | cocco | CC BY-SA 3.0 |
deleted 66 characters in body
|
| S Sep 22, 2014 at 21:22 | history | suggested | ROMANIA_engineer | CC BY-SA 3.0 |
Corrected a lot of words, indented code
|
| Sep 22, 2014 at 20:43 | review | Suggested edits | |||
| S Sep 22, 2014 at 21:22 | |||||
| May 14, 2014 at 20:21 | history | edited | Robert Harvey | CC BY-SA 3.0 |
deleted 12 characters in body
|
| Aug 23, 2013 at 17:28 | comment | added | Benjamin Gruenbaum |
2.ajax is meant to be async.. so NO var res=x('url').. That's the entire point of this question and answers :)
|
|
| Aug 23, 2013 at 14:04 | history | edited | cocco | CC BY-SA 3.0 |
added 248 characters in body
|
| Aug 23, 2013 at 13:55 | history | edited | cocco | CC BY-SA 3.0 |
added 248 characters in body
|
| Aug 23, 2013 at 13:45 | history | edited | cocco | CC BY-SA 3.0 |
added 17 characters in body
|
| Aug 23, 2013 at 13:38 | history | edited | cocco | CC BY-SA 3.0 |
added 2146 characters in body
|
| Aug 23, 2013 at 13:26 | history | edited | cocco | CC BY-SA 3.0 |
added 2146 characters in body
|
| Aug 23, 2013 at 5:56 | comment | added | Benjamin Gruenbaum |
While this answer is nice (And we all love XHR2 and posting file data and multipart data is totally awesome) - this shows syntactic sugar for posting XHR with JavaScript - you might want to put this in a blog post (I'd like it) or even in a library (not sure about the name x, ajax or xhr might be nicer :)). I don't see how it addresses returning the response from an AJAX call. (someone could still do var res = x("url") and not understand why it doesn't work ;)). On a side note - it would be cool if you returned c from the method so users can hook on error etc.
|
|
| Aug 19, 2013 at 8:40 | history | edited | cocco | CC BY-SA 3.0 |
added 72 characters in body
|
| Aug 19, 2013 at 8:31 | history | edited | cocco | CC BY-SA 3.0 |
added 2 characters in body
|
| Aug 19, 2013 at 8:24 | history | edited | cocco | CC BY-SA 3.0 |
deleted 1 characters in body
|
| Aug 19, 2013 at 8:19 | history | edited | cocco | CC BY-SA 3.0 |
deleted 1 characters in body
|
| Aug 19, 2013 at 8:12 | history | edited | cocco | CC BY-SA 3.0 |
deleted 1 characters in body
|
| Aug 19, 2013 at 8:06 | history | answered | cocco | CC BY-SA 3.0 |