最近做一个数据清理,根据行号清理,所以需要查出这个行的最大最小值出来进行删除,如果靠手动每次去查,太麻烦所以就用在sh脚本当中执行SELECT语句,并将结果赋值给一个变量. sh脚本如下 #! /bin/sh echo "Please enter the bankseq: \c" read bankseq echo "do you confirm enter the bankseq Y/N : " ; read result ; if [ "Y"
这篇博客,主要是记录我我所犯的错误,或者自己的写法不规范导致了错误,大家可以引以引以为鉴. 我要获取select当前的值,在IE9上我可以直接写document.getElementById("selected").value获取当前select选中的值,但在IE8下,这样写却为空,从网上查了一些资料,先获取选中的index,然后再根据index获取选中的值,可以这样写 var index=document.getElementById("selected").se
有这么一张表: create table hytb( id number(4,0) not null primary key, padid nvarchar2(20) not null, inputdate date not null, dosid integer not null ) 可以这样给它充值: insert into hytb(id,padid,inputdate,dosid) values('','',to_date('2020-01-23','yyyy-MM-dd'),'');
语法解释: $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发 var checkText=$("#select_id").find("option:selected").text(); //获取Select选择的Text var checkValue=$("#select_id").val(); //获取Select选择的Value