get value from popup window
-
i write a method retun string in cs file and i call this method in javascript function but it gev me error here is the code <script language=jscript type="text/javascript" > function SetDate() { window.opener.document.getElementById("txt_Date").value=<%GetSelectedDate();%>; } </script>
MD_NADA
-
i write a method retun string in cs file and i call this method in javascript function but it gev me error here is the code <script language=jscript type="text/javascript" > function SetDate() { window.opener.document.getElementById("txt_Date").value=<%GetSelectedDate();%>; } </script>
MD_NADA
based on what you wrote it looks right. Provide what the error is and code from the opener to get an answer. also code for when it's called.
Take a look at my corner of the net at Code Research Center