请高手教导
有两个web中各有一个form :A,B,
web1的form A
A中有两个:<input type = "text" name="txt_code">
<input type = "text" name="txt_name">
web2的form B
B中有一个表table: 表中有字段 code , name
中有数据
code name
1 simon
2 jackey
3 andy
问题是怎样onclick 一下 code字段的数据
在web1的form A中text 显示相应的数据.
例:单击3, "txt_code" 显示 3,"txt_name" 显示 andy