striezel: Formular wird bei reload() erneut abgeschickt

Beitrag lesen

Hi Striezel,

Hi Andreas!

vielleicht klappt das so:

if(index(document.location.href,'?')!=-1){
  document.location.href=substr(document.location.href,0,index(document.location.href,'?'));
}else{
  document.location.href=document.location.href+"?";
}

Ich probiers mal aus.

Das "?", welches ich nach "else" an den String anhänge soll lediglich bewirken, dass die Seite nicht aus dem Cache geladen wird.

Ok. Danke schonmal

Ciao
Andreas

Tschö striezel