Markus**: urlEncode...

Beitrag lesen

Meinst du vielleicht encodeURI oder encodeURIComponent?
Fuer beide sagt Mozillas Developer Center:
"Encodes a Uniform Resource Identifier (URI) [component] by replacing each instance of certain characters by one, two, or three escape sequences representing the UTF-8 encoding of the character."

MfG ChrisB

Äh, ja natürlich meinte ich decodeURI, ist schon etwas spät, sorry!
Danke für den Hinweis. Jetzt klappt's!

Gute Nacht!