I’m getting values from the database and sending them trough url as request and it request is successful when there is no & in the value from the database now I assume that my request should look like value=something&value2=something with amp &
How can I replace all & occurrances with & in the url directly, is it possible to write javascript directly in the request?
You can use the function
encodeURIComponent:And you will get: