ChrisB: Pfad der Parent Directory ermitteln

Beitrag lesen

Hi,

Vielleicht noch besser:
base = window.location.href.replace(/[^/]*$/, '');?

RegExp bemühen, wo simple Stringfunktionen ausreichen?
Das erfüllt so gut wie nie die Definition von "besser".

MfG ChrisB

--
Light travels faster than sound - that's why most people appear bright until you hear them speak.