| Subject: how can i passing data between windows (IE7) |
| Group: microsoft.public.internetexplorer.general |
| Date: 9/4/2008 9:15:01 AM |
| From: =?Utf-8?B?Q2Flc2FyWA==?= [Email Address Protection] |
Hi, excuse my english... with visual studio i got this (more or less) window 1: .... <script type="text/javascript"> function opener() { window.open ('window2.aspx',"X","scrollbars=yes,status,width=450, height=450,top=0,left=0"); } </script> .... <input id="ID" runat="server" name="ID" class="input_texto"/> ------------ window 2.aspx: after clicking a button on this window... goes to the javascript <script type="text/javascript" > function Sel(valuex) { window.parent.document.forms(0).item("ID").value=valuex; window.close(); } </script> ------------------ either doesnt work usign this: window.opener.document.getElementById("ID").value=valor; can anybody help me? |
| Back |