JS实现密保卡矩阵提取

来源:百度知道 编辑:UC知道 时间:2024/05/19 15:48:10
要实现在3个文本框中输入密保卡坐标。然后单击按钮会提取出密保卡对应坐标的数字

小弟对JS不精通。还望各位大哥大姐能帮帮小弟

具体效果如下图
高分悬赏 请写出详细代码

1:首先,这个 密保卡的 数据是存在 服务器上的,你要这段代码不知道有什么用,如果仅仅是为了自己使用方便,你可以提前把密保卡的数据保存在本页面。
2:我举一个 3 * 3 矩阵的 例子 下面是代码。可正常使用,但没有做异常处理。
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>矩阵密报数据提取器</title>
</head>

<body>
<table width="400" border="0" cellpadding="0" cellspacing="10">
<tr>
<td width="33%" valign="top"><input style="width:60px;" onFocus="this.select();" id="x1"

type="text" value="坐标1"></td>
<td width="34%" valign="top"><input style="width:60px;" onFocus="this.select();" id="x2"

type="text" value="坐标2"></td>
<td width="33%" valign="top"&