Ah super, das funzt schonmal
aber hab da jetzt ein umgekehrtes Problem. In FF1 werden mehrere Links ausgelesen, wenn ich auf einen drauf klicke, soll in FF2 in ein input-feld nen Text eingefügt werden.
PHP-Code:
<?php
echo "File: <a href=\"javascript:void(parent.result.document.liste.dateipfad.value='".$patho."/".$entry."')\">".$entry."</a>
\n";
?>
das ist seite 2:
PHP-Code:
<?php
<body cellspacing='1' cellpadding='1' border='0'>
<form name='liste' action='result.html' method='POST'>
<table width='100%'>
<tr>
<td bgcolor='#87CEFA'>[b]hello world!! HEHE[/b]</td>
<td bgcolor='#87CEFA' width='115'><center><button id='a' name='refresh' type='button' onClick="parent.titles.location.href='http://localhost/audio/titles.php'" value='Refresh'>Refresh</button></center></td>
</tr>
<tr>
<td bgcolor='#FF7F50'>[b]<input id='a' type='text' name='dateipfad' value='' size='180'>[/b]</td>
<td bgcolor='#FF7F50'><center><button id='a' name='testhoeren' type='button' onClick="" value='Testhoeren'>Testhoeren</button></center></td>
</tr>
</table>
</body>
?>
EDIT: das cellspacing und so, das jetz noch im body ist, war nen fehler, habs schon korrigiert, und im 1. codebeispiel ist da nen doppelpunkt, das hat irgendwie das forum hier geändert...