Hai,

I want to change the parent windows table from popup window.
I used  window.open to open a popup window.
when i click a button in popup window i want to assign some value in
parent windows table (cell).
<script>
function resetIndex(res){
$i("index").value=res.parentNode.parentNode.rowIndex;

window.open("./
employee.html","mywindow","status=0,height=400,width=500,location=0,toolbar=0,scrollbars=1,modal=yes");

}
</script>

<form id="userForm">
<table>
<thead>
<th>UserID</th>
</thead>
<input type="hidden" id="userItemsSave"></input>
<tbody id="userItems">
<tr>
<td><input type="text" id="userCode"></input></td>
<td><input type="hidden" id="rowno"/><input type="button" id="get"
onclick="resetIndex(this)" Value="Get"></input></td>
<td><input id="userId" type="text" value="" /></td>
<td><input id="userName" type="text" value="" /></td>

</tr>
</tbody>
</table>



employeeList.html


<script>
function getEmployeeCode(){
//alert($(parent.document).find('#teeee').html("s"));
I want to change parent windows table from here.
}
</script>

Reply via email to