Home > Web Front-end > JS Tutorial > body text

JS创建自定义表格具体实现_javascript技巧

WBOY
Release: 2016-05-16 17:00:38
Original
1573 people have browsed it

JS部分:

复制代码 代码如下:

function next() {
//得到table对象
var oTable = document.getElementById("table1");
//插入tr
var oTr = oTable.insertRow();
//一行tr插入3个td
var oTd1 = oTr.insertCell();
var oTd2 = oTr.insertCell();
var oTd3 = oTr.insertCell();
//指定td内容
oTd1.innerHTML = "@process_time显示处理某个页面所需要的时间";
oTd2.innerHTML = "无需设置参数";
oTd3.innerHTML = "无需设置参数值";
}

JSP:
复制代码 代码如下:










参数描述

包含此参数

参数值

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!