How to encode and decode a part of a URL using JavaScript? | MELVIN GEORGE

How to encode and decode a part of a URL using JavaScript? | MELVIN GEORGE