// fenster soll text weitergeben.. leider kommt immer nur [object] ???
var myTitle = window.dialogArguments;
document.title = myTitle;
function returnSelected() {
var text = document.all.text;
window.returnValue = text // set return value
window.close(); // close dialog
}
</script>
</head>
<body bgcolor="#FFFFFF" topmargin=15 leftmargin=0>
<form method=get onSubmit="Set(document.all.value); return false;">
<div align=center>
<input name="text" type="text" value="http://">
<input type="button" value=" Go " onClick="returnSelected()">
</div>
</form>
var myTitle = window.dialogArguments;
document.title = myTitle;
function returnSelected() {
var text = document.all.text;
window.returnValue = text // set return value
window.close(); // close dialog
}
</script>
</head>
<body bgcolor="#FFFFFF" topmargin=15 leftmargin=0>
<form method=get onSubmit="Set(document.all.value); return false;">
<div align=center>
<input name="text" type="text" value="http://">
<input type="button" value=" Go " onClick="returnSelected()">
</div>
</form>
Kommentar