自动编号
var bhobj = $("input[title='编号']");
if(bhobj.val()==""){
vardate=newDate();
var time = date.getFullYear();$.ajax({
type:"POST",
url:"/form/sn/bh.php",
success:function(msg){
varzdbh=(time-1)*1000+1000+msg;
bhobj.val(zdbh).attr("readonly", "");}
});
}<?
include_once("inc/auth.php");
ob_clean();
$bha=mysql_fetch_array(mysql_query("select id from $shujuku.flow_data_70 order by id desc limit 1"));echo $bha[0];
?>
相关推荐
zrtlin 2020-11-09
xuebingnan 2020-11-05
wikiwater 2020-10-27
heheeheh 2020-10-19
Crazyshark 2020-09-15
softwear 2020-08-21
ZGCdemo 2020-08-16
jczwilliam 2020-08-16
littleFatty 2020-08-16
idning 2020-08-03
jinxiutong 2020-07-26
lanzhusiyu 2020-07-19
Skyline 2020-07-04
xiaofanguan 2020-06-25
Aveiox 2020-06-23
dragonzht 2020-06-17