What is decodeuri(), encodeuri() in javascript?
Answer / Lalit Kumar Singh
decodeURI(): It is a built-in JavaScript function used to decode a URI (Uniform Resource Identifier) that was encoded using escape() or encodeURIComponent(). The decoded string may contain spaces and other special characters.nencodeURI(): It is also a built-in JavaScript function used to encode a URI that contains special characters, making it safe for use in URLs. Some of the special characters are: space (", ', (, ), ,, /, ?, :, @, =, +, $, %, !, *, ;, ', ', ', '<, '>', '|'.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the need of javascript?
What are the Non-primitive data types in JavaScript?
When selecting the states by giving the country as input using ajax cal, how can we ensure that every time it is hitting the DB and fetching the data? Many time it may load from the cache.
How to add buttons in javascript?
How fast can you learn coding?
How do we add javascript onto a web page?
What do ellipses mean in javascript?
What is a reverse string?
What is javascript hoisting?
java pgm for reads a file(text file) and removes all the spaces then the text and write this back into the same file. e.g: (Input) _______ chennai is fourth biggest city in india. (output) _______ chennaiisfourthbiggestcityinindia.
How to test a string as a literal and as an object ?
What are two-way data binding and one-way data flow, and how are they different?