自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

转载 H5动态添加行

可编辑表格function addRow(){var oTable = document.getElementById("oTable");var tBodies = oTable.tBodies;var tbody = tBodies[0];var tr = tbody.insertRow(tbody.rows.length);var td_1 = tr.insertCell(0)

2016-09-30 10:35:49 3117

原创 按钮添加行

function addRow(){var oTable = document.getElementById("oTable");var tBodies = oTable.tBodies;var tbody = tBodies[0];var tr = tbody.insertRow(tbody.rows.length);var td_1 = tr.insertCell(0);

2016-09-30 10:34:20 302

原创 js 使用正则表达式验证url地址

var strRegex ='(https?|ftp|file)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]';var url;var re=new RegExp(strRegex); if(url!=""){ if (!re.test(url)) { alert("请输入正确的url地址"); return fal

2016-09-22 15:52:27 13424

原创 读取从begin到end文件内容,并编码

RandomAccessFile raf = null; File srcFile = new File(contextPath + srcFilePath); raf = new RandomAccessFile(srcFile, "r"); raf.seek(begin); byte[] bytes = new byte[end - begin + 1]; raf.read(byte

2016-09-07 09:58:15 668

原创 SSH实现上传进度条

package com.server.action.back;import org.apache.struts2.ServletActionContext;import javax.servlet.http.HttpSession;import com.server.data.State;import com.opensymphony.xwork2.ActionSupport;//

2016-09-07 09:41:41 1082

原创 httpclient post

public static JSONObject doRefresh(JSONObject json) { //http 4.5 CloseableHttpClient client = SSLClient.createSSLClientDefault(); JSONObject response = null; HttpPost post = new HttpPost(URL)

2016-07-05 10:47:59 251

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除