I am facing a problem while writing values in textbo x of parent window using javascript.
I have an application with master page. I am creating a find form for the same. On Click of find button I open a new window with search data in it.
Now when user clicks on the required data I add the first column value in Hidden field of Parent page.
My code is
here SearchId is HTML hidden field
<script language="javascript">
window.opener.document.getElementById('SearchId').value='1234';
window.close();
</script>
I am getting the value of "window.opener.document.getElementById('SearchId').value" as undefined.
I did try with ClientID but I don't know how to get the ClientID in child form (In this case in find form)
Please help its a bit urgent.
Thanks and Regards,
Vivek

New Topic/Question
Reply




MultiQuote


|