JavaScript 动态生成表格 案例

功能描述 在输入框中输入行和列,点击按钮,生成拥有对应行和列的表格。如下图所示: 分析 HTML界面设计 <body> 行:<input type="text" id="row" /> 列: <input type="text" id="col" /> <input type="button" name="go" id="go" value="go" onclick="add()" />
相关文章
相关标签/搜索