php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /var/www/html/bootstrap/js/ |
files >> //var/www/html/bootstrap/js/js_gs.js |
var specialKeys = new Array(); specialKeys.push(8); //Backspace function IsNumeric1(e) { var keyCode = e.which ? e.which : e.keyCode var ret = ((keyCode >= 48 && keyCode <= 57) || specialKeys.indexOf(keyCode) != -1); document.getElementById("error_qty").style.display = ret ? "none" : "inline"; return ret; } function IsNumeric2(e) { var keyCode = e.which ? e.which : e.keyCode var ret = ((keyCode >= 48 && keyCode <= 57) || specialKeys.indexOf(keyCode) != -1); document.getElementById("error_harga").style.display = ret ? "none" : "inline"; return ret; } $(document).ready(function(){ /*$('#form_submit').on('submit', function(e){ $("#alert").hide(); var harga = $('#harga').val(); if (harga == null || harga == "") { $('#harga').focus(); // Agar focus ke form $("#alert").html("<br>Form Harga tidak boleh kosong<br>"); // Tulis alert di Div $('#alert').fadeIn(); e.preventDefault(); // Menahan agar tetap di halaman ini } else{ this.submit(); // Form melakukan Submit } }); */ $('#approve').click(function(e){ $("#alert").hide(); var harga = $('#harga').val(); var numbers = /^[0-9]+$/; if (harga == null || harga == "") { $('#harga').focus(); // Agar focus ke form $("#alert").html("<br>Form Harga tidak boleh kosong<br>"); // Tulis alert di Div $('#alert').fadeIn(); e.preventDefault(); // Menahan agar tetap di halaman ini } else{ this.submit(); // Form melakukan Submit } }); $('#pending').click(function(e){ this.submit(); // Form melakukan Submit }); });y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`