<style>
*{
font-family: arial;font-size: small;
}
.mytable th{
background-color: black;color: white;
}
.mytable tr:hover{
background-color: lightblue;cursor: pointer;
}
.mytable td, th{
padding: 5px
}
</style>
<h6>Daftar SITE </h6>
<table class="mytable" width="100%" border="1">
<thead>
<tr>
<th>
No
</th>
<th>
Site
</th>
</tr>
</thead>
<tbody>
<tr onclick="javascript:pilih(this);">
<td>1</td>
<td>http://sih4nk.com</td>
</tr>
<tr onclick="javascript:pilih(this);">
<td>2</td>
<td>http://h4nk.blogspot.com</td>
</tr>
</tbody>
</table>
<script>
function pilih(row){
var
site=row.cells[1].innerHTML;
window.opener.parent.document.getElementById("siteh4nk").value = site;
window.close();
}
</script>