PHP Variable über location.reload an andere Frameseite
Chris
- javascript
0 Cruz
Hallo,
ich brauche dringend Hilfe.
Ich habe folgendes Javascript
<script language="JavaScript">
<!--
function UpdFrames()
{
parent.frames["Inhalt"].location.reload();
}
//-->
</script>
Die Frameseite (a) im Frame "Inhalt" wird auch aktualisiert, aber ich muß aus der aufrufenden Seite (b) ein PHP Variable an die Seite (a) übergeben, und diese dort in einen SQL_Request einbauen.
Und jetzt stehe ich vor der Frage, wie geht das??
Ich hoffe auf baldige Antwort
Christian
Hallo Chris,
probier mal
parent.frames["Inhalt"].location.href = parent.frames["Inhalt"].location.href + '?var_name=' + var_value;
var_value kannst du dir dann in der Aufrufenden Seite zusammenbasteln, je nachdem wo du deine Variable hernimmst.
Gruß,
Cruz