Does anyone have experienced cross browser issues with "encodeURIComponent(string)"
dom-events, javascript
Solution
`encodeURIComponent` works as advertised in a cross-browser fashion. Use it in preference to `escape`.
Problem
I need to make URL from some custom string values dynamically. I have doubt on `encodeURIComponent(string)` function whether it has cross browser issues does anyone experienced trouble with this function (I am not using any JS libraries)?