<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<div>
<input type="button" value="新增" onclick="AddRow()" />
<input type="button" value="删除选中行" onclick="DelRow()" />
</div>
</tr>
<tr>
<div style="padding: 6px 0 0 0;">
<table id="tb" border="1">
<tr>
<th class="cell_style1">
单价
</th>
<th class="cell_style1">
数量
</th>
<th class="cell_style1">
总价
</th>
<th class="cell_style2">
备注
</th>
</tr>
<tr>
<td>
<input type="text" class="cell_style1" onclick="SelectRow(this)" onchange="SumZJ(this)" />
</td>
<td>
<input type="text" class="cell_style1" onclick="SelectRow(this)" onchange="SumZJ(this)" />
</td>
<td>
<input type='text' class='cell_style1' onclick='SelectRow(this)' onchange='SumZJ(this)' />
</td>
<td>
<input type="text" class="cell_style2" onclick="SelectRow(this)" />
</td>
</tr>
</table>
</div>
</tr>
<tr>
<div style="padding: 6px 0 0 0;">
<input type="button" value="输出XML" onclick="OutXML()" />
</div>
</tr>
<tr>
<div style="padding: 4px 0 0 0;">
<input id="XML_Text" type="text" style="height: 40px; width: 560px;" />
</div>
</tr>
</table>
解决方案 »
- js能控制iframe里面的内容吗?
- FCKeditor函数
- 好难哦,javascript与vbscript好多函数都没的啊?谁帮我反成VBSCRIPT的啊谢谢啦.!!
- javascript面对对象 zinherit源码问题
- 懂jquery的请进。
- jsp 页面导出excel文档,怎样控制保存文档2003以下版本??急急!
- 火星人的耳机 - 趣谈web开发标准
- JS如何得到Get的传值
- 用response.write(string1,string2)写了一些字符,在客户端用javascript怎样截获这些字符,并把它放在一个变量里?
- 救救我,如何实现一个方法使焦点跳到frame
- jquery验证的错误信息样式怎么修改啊
- js导出word怎样在单元格中添加换行?
你的那段代码貌似可以看做一段xml??