Hello
i have a form, where my users can choose a postal code and a city to see a
table result page with only entries of their choice.
this results have to be shown in a new window :
var firstLink = unescape(firstU RL.cfm');
var secondLink = unescape(second URL.cfm');
var thirdLink = unescape(thirdU RL.cfm');
var myFormLink = unescape(formre sultURL.cfm');
function popUpWindow(URL Str, left, top, width, height)
{
if(popUpWin)
{
if(!popUpWin.cl osed) popUpWin.close( );
}
popUpWin = open(URLStr, 'popUpWin',
'toolbar=no,loc ation=no,direct ories=no,status =no,menub
ar=no,scrollbar s,resizable=no, copyhistory=yes ,width='+width+ ',height='+heig h
t+',left='+left +', top='+top+',scr eenX='+left+',s creenY='+top+'' );
}
html:
<A HREF="firstLink " onClick="popUpW indow(firstLink , 40, 42, 790, 450);
return false">here my first link</A>
<A HREF="secondLin k" onClick="popUpW indow(secondLin k, 40, 42, 790, 450);
return false">here my second link</A>
<A HREF="thirdLink " onClick="popUpW indow(thirdLink , 40, 42, 790, 450);
return false">here my third link</A>
Now the problem:
<form name="Firmenlis te" method="post" action="Schnell suche"
onSubmit="popUp Window(myFormLi nk, 20, 20, 750, 400); return false">
<input name="any1" type="text" id="any1">
<input name="any2" type="text" id="any2">
<input name="Submit" type="submit" id="Submit" value="OK">
</form>
This opens formresultURL.c fm in a new window, as expected, but the new
window didn't receive the values of any1 and any2...
Any idea, how i can solve that problem?
Thanks a lot for any help and sorry for that long description of my problem,
but i want to make it as clear as possible.
Martin Nadoll
i have a form, where my users can choose a postal code and a city to see a
table result page with only entries of their choice.
this results have to be shown in a new window :
var firstLink = unescape(firstU RL.cfm');
var secondLink = unescape(second URL.cfm');
var thirdLink = unescape(thirdU RL.cfm');
var myFormLink = unescape(formre sultURL.cfm');
function popUpWindow(URL Str, left, top, width, height)
{
if(popUpWin)
{
if(!popUpWin.cl osed) popUpWin.close( );
}
popUpWin = open(URLStr, 'popUpWin',
'toolbar=no,loc ation=no,direct ories=no,status =no,menub
ar=no,scrollbar s,resizable=no, copyhistory=yes ,width='+width+ ',height='+heig h
t+',left='+left +', top='+top+',scr eenX='+left+',s creenY='+top+'' );
}
html:
<A HREF="firstLink " onClick="popUpW indow(firstLink , 40, 42, 790, 450);
return false">here my first link</A>
<A HREF="secondLin k" onClick="popUpW indow(secondLin k, 40, 42, 790, 450);
return false">here my second link</A>
<A HREF="thirdLink " onClick="popUpW indow(thirdLink , 40, 42, 790, 450);
return false">here my third link</A>
Now the problem:
<form name="Firmenlis te" method="post" action="Schnell suche"
onSubmit="popUp Window(myFormLi nk, 20, 20, 750, 400); return false">
<input name="any1" type="text" id="any1">
<input name="any2" type="text" id="any2">
<input name="Submit" type="submit" id="Submit" value="OK">
</form>
This opens formresultURL.c fm in a new window, as expected, but the new
window didn't receive the values of any1 and any2...
Any idea, how i can solve that problem?
Thanks a lot for any help and sorry for that long description of my problem,
but i want to make it as clear as possible.
Martin Nadoll
Comment