`
lichengyezi
  • 浏览: 203534 次
  • 性别: Icon_minigender_1
  • 来自: 齐齐哈尔
文章分类
社区版块
存档分类
最新评论
文章列表
一、CSS 1、css(name) 访问第一个匹配元素的样式属性。 返回值 String 参数 name (String) : 要访问的属性名称 示例: $("p").css("color"); //取得第一个段落的color样式属性的值 2、css(properties) 把一个“名/值对”对象设置为所 ...
public static String ClobToString(CLOB clob) throws SQLException, IOException { String reString = ""; Reader is = clob.getCharacterStream();// 得到流 BufferedReader br = new BufferedReader(is); String s = br.readLine(); StringBuffer sb = new StringBuffer(); while (s != null) {// 执 ...
--------------复制表  select   * into 表5 from   表4 m -----------------插入一个 insert into hf_datetime(datetime)  select addDate  from  hf_'+@city+'_business    where id='+@businessId list = $.trim(data); list = list.substring(1,list.length-1); list = eval('('+list+')');     if(list.rows[0].f ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ut ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb ...
$("input[name='sectionState']:checked").val()
<script> strHTML= " <table> </table> 323232fdfffdsfsdf <table   border=0   cellpadding=0   cellspacing=0   id=Tbs   rules=rows> 然后里面有好多的   tr   td   最后是 </table> fhdsfhjdsflsdfjdslflfdsfl <table> <fdfhfd </table> " var   r=strHTML.match(/ <t ...
<a href="javascript:gets();">获取</a> <textarea id="ttt"></textarea> <script language="javascript"> function gets() {     var t = document.getElementById("ttt");     t.value = document.documentElement.outerHTML; } </script>
<!-- // 去左空格 function ltrim(s){ return s.replace( /^\s*/, ""); } // 去右空格 function rtrim(s){ return s.replace( /\s*$/, ""); } // 去左右空格 function trim(s){ return rtrim(ltrim(s)); } //获取文件扩展名 function get_ext(f_path){ var ext = ''; if(f_path != null && trim( ...
$('#classId option:selected').text()
title.replace(new RegExp("<br/>","gm"),"a"); title为字符串 <br/>为要替换的对象 a为替换的新对象
方法一:在初始化时保存ApplicationContext对象 代码: ApplicationContext ac = new FileSystemXmlApplicationContext("applicationContext.xml"); ac.getBean("beanId"); 说明:这种方式适用于采用Spring框架的独立应用程序,需要程序通过配置文件手工初始化Spring的情况。 方法二:通过Spring提供的工具类获取ApplicationContext对象 代码: import org.springframework.web.conte ...
1.1.document.write(""); 输出语句   2.  3.2.JS中的注释为//   4.  5.3.传统的HTML文档顺序是:     6.  document->html->(head,body)   7.  8.4.一个浏览器窗口中的DOM顺序是:   9.    window->(navigator,screen,history,location,document)   10.  11.5.得到表单中元素的名称和值:   12.    document.getElementById("表单中元素的ID号 ...
1、查找表中多余的重复记录,重复记录是根据单个字段(peopleId)来判断 select * from people where peopleId in (select   peopleId  from   people  group  by   peopleId  having  count(peopleId) > 1) 2、删除表中多余的重复记录,重复记录是根据单个字段(peopleId)来判断,只留有rowid最小的记录 delete from people where peopleId  in (select   peopleId  from people  group  b ...
$("#SelectID option[value='selectValue']").attr("selected",true)
Global site tag (gtag.js) - Google Analytics