Hi,
first sorry for my english.
Can someone help me with this.
I use my page only offline
on my hard disk. I need javascript who
write (when the page load) in:
cell1 -> John
cell3 -> Smith
cell7 -> Frank
cell9 -> White
textarea t1 -> Dave
textarea t2 -> Jones
,and when I click over cell1 to copy John in
textarea t3. This script must take these names
from data.txt file.
[COLOR=blue]
=====My source===============
<html>
<head>
<title>table</title>
<object id=”selectlist” width=”0″ height=”0″ classid=”clsid:333C7BC4-460F-11D0-BC04-0080C7055A83″>
<param name=”DataURL” value=”data.txt”>
<param name=”FieldDelim” value=”;”>
<param name=”UseHeader” value=”true”>
</object>
</head>
<body>
Table<br>
<table width=”550″ border=”1″ cellpadding=”03″ cellspacing=”0″><tbody>
<tr>
<td>First name</td>
<td> </td>
<td>Last name</td>
</tr>
<tr>
<td id=”cell1″></td>
<td> </td>
<td id=”cell3″></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td id=”cell7″></td>
<td> </td>
<td id=”cell9″></td>
</tr>
</tbody></table> <br>
t1<input type=”text” id=”t1″ size=”45″> <br>
t2<input type=”text” name=”t2″ size=”45″><br>
<br><br>
t3<input type=”text” name=”t3″ size=”45″>
</body>
</html>
==========END of my source===================
The contents of data.txt file:
[COLOR=red]First;Last
John;Smith
Frank;White
Dave;Jones
Daniel;Hamrick