I need to call a javascript function and pass a long url in that. which gives unescaped error because of some special characters. i can’t use escape characters because the url is picked dynamically and passed to the function. How can i do this?
Share
See this thread. It shouldn’t doesn’t matter if the URL is generated in runtime. Can you call a function to encode it before passing it to your other function?