Skip to content

Instantly share code, notes, and snippets.

@erayarslan
Created October 4, 2019 11:44
Show Gist options
  • Save erayarslan/976be87ba5dc698292acaeea586fa559 to your computer and use it in GitHub Desktop.
Save erayarslan/976be87ba5dc698292acaeea586fa559 to your computer and use it in GitHub Desktop.
sakaryavib.js
// Çift boş koltuğun tekini satmamayı bypass etme
function devamsonuc() {
if (rsk.readyState == 4) {
if (rsk.status == 200) {
document.forms["frm"].submit();
}
}
}
// Başkası işlem yaparken kapma kodu
function isaretlesonuc() {
if (rsk.readyState == 4) {
if (rsk.status == 200) {
if (tutislem == "on") {
BiletEkle(tutsefkno, tutykcins, trim(rsk.responseText));
SeciliKoltuk += ' ' + tutsefkno;
} else {
BiletSil(tutsefkno);
SeciliKoltuk = SeciliKoltuk.replace(' ' + tutsefkno, "");
}
} else {
alert("Problem Olustu");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment