Hallo Mamue,
window.location.href="druck.php?url="+window.location.href;
[..]
hat jemand einen lösungsvorschlag, was ich anstellen muss, damit auch die zweite variable übergeben wird?
Versuch mal:
window.location.href = "druck.php?url=" + escape(window.location.href);
Wenn du "moderner" schreiben willst, kannst du auch encodeURI() verwenden, das wird aber noch nicht von allen Browsern unterstützt.
Viel Erfolg,
Robert
--
What I "discovered" was that happiness is not something that happens. [...] Happiness, in fact, is a condition that must be prepared for, cultivated, and defended privately by each person.
-- Mihaly Csikszentmihalyi
What I "discovered" was that happiness is not something that happens. [...] Happiness, in fact, is a condition that must be prepared for, cultivated, and defended privately by each person.
-- Mihaly Csikszentmihalyi