Skip to content

Instantly share code, notes, and snippets.

View relic7's full-sized avatar

relic7

  • Cisco Systems, Inc.
  • Raleigh, NC
View GitHub Profile
@relic7
relic7 / ajax_get.js
Created May 30, 2014 06:44 — forked from dmulvi/ajax_get.js
Simple jQuery ajax GET request
/*
* 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)
data = $('#form').serialize();
$.ajax({
type: "POST",
url: "send.php?"+data,
})