dey: netscape 6.2

Beitrag lesen

Servus

folgendes script funktioniert in MS IE aber nicht im Netscape:

<!--
function Go(x) {
 if(x == "nothing") {
   document.forms[0].reset();
   document.forms[0].elements[0].blur();
   return;
 }
 else {
   document.contactp.location.href = x;
   document.forms[0].elements[0].blur();
 }
 parent.contactp.focus();
}
//-->

Problem ist document.contactp.location.href = x, wobei x z.B. "contact-p.html?gerrus" sein kann.
Gibt es einen Ersatz für document.contactp.location.href, der bei beiden Browsern zusammen mit der Variablenübergabe funktioniert?

bydey