Hi masters,
i didnt find a post which help me
(excuse my english), I hope you could help me with this...
I´m working with visual studio 2005 on IE7 (I think this the origen of my problem because on IE6 was worked fine)...and I'm making a page which opens a popup window (window1)… on this popup, after some filters follows by a button… on the click... runs a javascript... I need the source window1 gets the values from the popup window (window2)...
here is the example
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:
<script type="text/javascript" >
function Sel(valuex) {
window.parent.document.forms(0).item("ID").value=valuex;
window.close();
}
</script>
note: on IE7 doesnt work : window.opener.document.getElementById("ID").value=valor; either
do yo have any idea about it?
or something else ?
Regards...
i didnt find a post which help me
(excuse my english), I hope you could help me with this...
I´m working with visual studio 2005 on IE7 (I think this the origen of my problem because on IE6 was worked fine)...and I'm making a page which opens a popup window (window1)… on this popup, after some filters follows by a button… on the click... runs a javascript... I need the source window1 gets the values from the popup window (window2)...
here is the example
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:
<script type="text/javascript" >
function Sel(valuex) {
window.parent.document.forms(0).item("ID").value=valuex;
window.close();
}
</script>
note: on IE7 doesnt work : window.opener.document.getElementById("ID").value=valor; either
do yo have any idea about it?
or something else ?
Regards...