hi!
wie löse ich volgende function aus wenn sich gobale var spr ändert?
function sprachwechsel() {
var Dat = window.document.URL;
var Ide = Dat.substr(24,1);
if (spr != Ide) {
var Inh = Dat.slice(0,25);
var loc = Inh.concat (spr, ext);
window.location.href = loc;
}
}
die var spr speichert gecheckten value meines radio-button-formulars, falls das wichtig is!danke mfg chris