This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Task 2 - fetch some db results via ajax call and display in a table. | |
| */ | |
| var admixt_task2 = { | |
| url: '/followers', | |
| fetch: function(){ | |
| var self = this; | |
| $.get(this.url) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data = $('#form').serialize(); | |
| $.ajax({ | |
| type: "POST", | |
| url: "send.php?"+data, | |
| }) |
NewerOlder