hi all
How can I double click my td of the table and carry the value in the td to the input text?Below is some code of mine.
==============================================
<head>
<script type="text/javascript">
function kk(){
//carry td value to input text function
}
</script>
</head>
<body>
<table border="1">
<tr>
<td ondblclick="kk()">Lee</td>
<td>10</td>
</tr>
<tr>
<td ondblclick="kk()">Chung</td>
<td>12</td>
</tr>
</table>
<hr />
Name:<input type="text" id="aa" />
</body>



Reply With Quote



Bookmarks