C
CaesarX
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?
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?