摘要:
一、在页面中固定选项:<td style="text-align: left;" class="td_bg"> 年份: <select id="year" name="year" > <option value="">--请选择--</option> <option value="2010" ${year eq '2010'?'selected':'' }>2010年& 阅读全文
摘要:
在java中实现调用数据库中的存储过程小结:一、存储过程无返回参数的调用:public boolean callQuery(String[] args) throws Exception { String pSql = "{call PK_INITIALIZATION.PRO_INIT_EVAInterface(?,?,?)}"; Connection con = null; CallableStatement stCall = null; con = this.getSession().connection(); stCall = con.pr... 阅读全文
摘要:
setTimeout() 方法用于在指定的毫秒数后调用函数或计算表达式。语法:setTimeout(code,millisec)var t = setTimeout("javascript语句", 毫秒)setTimeout() 方法会返回某个值。在上面的语句中,值被储存在名为 t 的变量中。假如你希望取消这个 setTimeout(),你可以使用这个变量名来指定它。setTimeout() 的第一个参数是含有 JavaScript 语句的字符串。这个语句可能诸如 "alert('5 seconds!')",或者对函数的调用,诸如 ale 阅读全文