J
jodleren
Hi
I want to open a window using JS, when a button is pressed. In the new
window I'd like to check for which button was pressed.
For cetain reasons, I'd like not to have that in the URL.
What I have is
function whatever(input)
{
win3=window.open("myfile.php?dir=" +
encodeURIComponent(input),"dm_popup","width=500,height=550,scrollbars=yes,resizable=yes");
return false;
}
and <p><input name="btn_sel1" type="button" value="..."
onclick="OpenRootDirSel(textbox1.value);"> </p>
And here I'd like to add btn2 and textbox2 - which should work the
same way.
The point is, that the new window uses JS too to set the value of the
related textbox.
Any ideas?
WBR
Sonnich
I want to open a window using JS, when a button is pressed. In the new
window I'd like to check for which button was pressed.
For cetain reasons, I'd like not to have that in the URL.
What I have is
function whatever(input)
{
win3=window.open("myfile.php?dir=" +
encodeURIComponent(input),"dm_popup","width=500,height=550,scrollbars=yes,resizable=yes");
return false;
}
and <p><input name="btn_sel1" type="button" value="..."
onclick="OpenRootDirSel(textbox1.value);"> </p>
And here I'd like to add btn2 and textbox2 - which should work the
same way.
The point is, that the new window uses JS too to set the value of the
related textbox.
Any ideas?
WBR
Sonnich