Skip to content

Instantly share code, notes, and snippets.

@BatuhanK
Created September 17, 2014 22:39
Show Gist options
  • Save BatuhanK/060eafc3856cb37e593d to your computer and use it in GitHub Desktop.
Save BatuhanK/060eafc3856cb37e593d to your computer and use it in GitHub Desktop.
uzmancevap_1
$.get('http://www.uzmancevap.org/bilgileri-duzenle',function(data){
var name = $('input[name=uye_adsoyad]').val();
console.log("Üyenin ad soyad verilerini aldım");
if(name.length>0){
$.post('http://www.uzmancevap.org/bilgileri-duzenle',{
uye_adsoyad:name,
uye_hakkinda:"Uzmancevap editör açığı :( \nBatuhan KATIRCI",
uye_sehir:"İstanbul",
koordinat_x:0,
koordinat_y:0
}, function(data){
console.log("Üyenin verileri değiştirildi");
})
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment