Nouveau fichier
This commit is contained in:
parent
bb5271c86e
commit
b1a181dd88
13
htdocs/soc.js.php
Normal file
13
htdocs/soc.js.php
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$js_OpenPopupWindow = "function PopupPostalCode(postalcode,objectville)
|
||||||
|
{
|
||||||
|
var url = 'searchpostalcode.php?cp=' + postalcode + '&targetobject=window.opener.document.formsoc.' + objectville.name;
|
||||||
|
// alert(url);
|
||||||
|
var hWnd = window.open(url, \"SearchPostalCodeWindow\", \"width=\" + 300 + \",height=\" + 150 + \",resizable=yes,scrollbars=yes\");
|
||||||
|
if((document.window != null) && (!hWnd.opener))
|
||||||
|
hWnd.opener = document.window;
|
||||||
|
}
|
||||||
|
";
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Reference in New Issue
Block a user