This is a list of advanced JavaScript learning resources from people who responded to this [Tweet][13] and this [Tweet][20].
-
[You Don't Know JS][3]
-
[Frontend Masters courses by Kyle Simpson][12]
-
[@mpjme][6]'s [YouTube videos][5]
Picking the right architecture = Picking the right battles + Managing trade-offs
| // Ajax File upload with jQuery and XHR2 | |
| // Sean Clark http://square-bracket.com | |
| // xhr2 file upload | |
| $.fn.upload = function(remote, data, successFn, progressFn) { | |
| // if we dont have post data, move it along | |
| if (typeof data != "object") { | |
| progressFn = successFn; | |
| successFn = data; | |
| } |
| <form action="" enctype="multipart/form-data" method="post"> | |
| <input id="file" name="file" type="file" /> | |
| <input id="Submit" name="submit" type="submit" value="Submit" /> | |
| </form> |