Jump to content

Example for encodeURIComponent()


cww3schools

Recommended Posts

The example on page http://www.w3schools.com/jsref/jsref_encodeuricomponent.asp for encodeURIComponent() correctly states to usse the encodeURIComponent() and decodeURIComponent() function to decode an encoded URI component. However the example shows the encoding of the complete URI yielding an un usable URI. Example should only encode the component.

Link to comment
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...