encodeURIComponent
encodeURIComponent
Description
encodeURIComponent(string uriComponent)
Parameters
Name | Description | Type | Default | Optional |
---|---|---|---|---|
uriComponent | string | No |
Examples
Example #1 – encodeURIComponent example
Encodes a url parameter.
If used on a url, it will encode it as a parameter.