Aktion nach Start eines Audio-Elements
bearbeitet von Rolf BHallo Tabellenkalk,
du bist zu streng. Das dritte \\ ist nur für das Forum. Im JS sind es 2, und in einer CSS Datei ist es nur eins.
Plus das eventuelle Space hintendran.
Aber bestimmt hat irgendwer ein JS Erweiterung geschrieben mit einer String.prototype Ergänzung namens escapeCssId(), der Du "123" hineingibst und die Dir das "\\\31 23" liefert.
Hey, LOL, [das ist tatsächlich schon passiert](https://developer.mozilla.org/de/docs/Web/API/CSS/escape). Und steht sogar im [Self WIKI](https://wiki.selfhtml.org/wiki/JavaScript/CSS#escape).
Zwar nicht auf String.prototype, sondern auf dem CSS Objekt, aber es ist passiert 😀. Da muss ich wohl noch was verlinken.
_Rolf_
--
sumpsi - posui - obstruxi