Hi ueps,
genau so sieht´s aus!
Hab die Funktion zum testen mal in einem anderen Dokument übernommen, ohne Frames.
Da geht´s wunderbar(natürlich ohne die Frameangabe vorn).
Hab sie mal eingfügt!
Bin ich zu blöd??
function fnc_Chk_alle_auswaehlen_betreff () {
if (parent.topFrame.document.form_betreff.chk_alle_auswaehlen.checked==true) {
parent.mainFrame.document.form_betreff.chk_zeile_1.checked=true;
parent.mainFrame.document.form_betreff.chk_zeile_2.checked=true;
parent.mainFrame.document.form_betreff.chk_zeile_3.checked=true;
parent.mainFrame.document.form_betreff.chk_zeile_4.checked=true;
parent.mainFrame.document.form_betreff.chk_zeile_5.checked=true;
parent.mainFrame.document.form_betreff.chk_zeile_6.checked=true;
parent.mainFrame.document.form_betreff.chk_zeile_7.checked=true;
parent.mainFrame.document.form_betreff.chk_zeile_8.checked=true;
parent.mainFrame.document.form_betreff.chk_zeile_9.checked=true;
}
else {
(parent.topFrame.document.form_betreff.chk_alle_auswaehlen.checked==false)
parent.mainFrame.document.form_betreff.chk_zeile_1.checked=false;
parent.mainFrame.document.form_betreff.chk_zeile_2.checked=false;
parent.mainFrame.document.form_betreff.chk_zeile_3.checked=false;
parent.mainFrame.document.form_betreff.chk_zeile_4.checked=false;
parent.mainFrame.document.form_betreff.chk_zeile_5.checked=false;
parent.mainFrame.document.form_betreff.chk_zeile_6.checked=false;
parent.mainFrame.document.form_betreff.chk_zeile_7.checked=false;
parent.mainFrame.document.form_betreff.chk_zeile_8.checked=false;
parent.mainFrame.document.form_betreff.chk_zeile_9.checked=false;
}
}
Hallo,
Also bekomm jetzt keinen Fehler mehr, aber die Checkboxen im unteren Frame werden immer noch nicht gechecked!!
parent.frameName.FormularName.Box.checked = true; um zu setzen
parent.frameName.FormularName.Box.checked = false; um zu löschen
ueps