Hi All..,
Kindly dont give any 'Blog' link...
With all of your helps, I have created a popup to select possible values. My popup screen(its a View, emppop.htm) contains a tableview and showing employee details(empid,name etc.).
Now my requirement is to select a value from this Tableview and bring that value into a field in the view(find.htm).
My tableview code is:
<htmlb:tableView id = "pop"
table = "<%= it_emp %>"
selectionMode = "SINGLESELECT"
onRowSelection = "handleid('<%= empid %>')" >
</htmlb:tableView>
<script language="JavaScript">
function handleid(id)
{
window.opener.document.emppop.empid.value = <%= empid %>;
window.close();
}
</script>
I am pretty sure that this code is wrong. But I am not able to find a simple example anywhere. Pls help me..
Thanks in advance..
Dev