'DecodeURI for query parameter in URL does not work

Since the value parameter has characters that are not read, such as the " " where the value is found where it is encountered, I tried to pass in the URL in reference to the decodeURI value but it doesn't work.

Can you kindly help me with this?

<a href="updatebook.html?id=${item.id}&number=${item.number}&value=decodeURI${item.value}">${item.type}</a>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source