Kangkam

Tampilkan postingan dengan label row. Tampilkan semua postingan
Tampilkan postingan dengan label row. Tampilkan semua postingan

Rabu, Januari 26, 2011

JQuery : Delete row and fade out the row affected

Case : You want to delete row without refreshing whole page
Solution : Use JQuery


function hapus(id){
if (confirm('Yakin mau dihapus ???')) {
$.post('actions/hapus_pengeluaran.php', {id: +id, ajax: 'true' },
function(){
$("#row_"+id).fadeOut("slow");
});
}
}


Source : http://www.bitsntuts.com/css/simple-jquery-delete-table
at 16.11 0 comments
Kirimkan Ini lewat Email BlogThis! Bagikan ke X Berbagi ke Facebook
Labels: delete, delete row, jquery, kangkam, mysql, php, row, tutorial
Postingan Lama Beranda
Langganan: Postingan (Atom)

Arsip Blog

  • ▼  2012 (1)
    • ▼  Januari (1)
      • MySQL : mysqldump with -w option on Windows XP
  • ►  2011 (39)
    • ►  November (3)
    • ►  September (1)
    • ►  Agustus (3)
    • ►  Juli (5)
    • ►  Juni (5)
    • ►  Mei (1)
    • ►  April (1)
    • ►  Maret (12)
    • ►  Januari (8)
  • ►  2010 (11)
    • ►  Desember (2)
    • ►  Oktober (1)
    • ►  September (1)
    • ►  Agustus (2)
    • ►  Juli (2)
    • ►  Juni (1)
    • ►  Mei (1)
    • ►  Maret (1)
  • ►  2009 (8)
    • ►  November (4)
    • ►  Mei (1)
    • ►  Februari (1)
    • ►  Januari (2)
  • ►  2008 (26)
    • ►  November (3)
    • ►  Oktober (2)
    • ►  September (6)
    • ►  Agustus (1)
    • ►  Juli (4)
    • ►  Juni (8)
    • ►  Mei (2)

Feedjit

Diberdayakan oleh Blogger.