Skip to content

Instantly share code, notes, and snippets.

View agarhy's full-sized avatar

Ahmed Garhy agarhy

  • Cairo, Egypt
View GitHub Profile
-- in my HTML stuff:
function callback(resp){
var msg = "";
var status = "";
switch(resp.status){
case 201:
$.ajax({
type: 'POST',
async: false,