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?
Tell me more
×
Stack Overflow is a question and answer site for
professional and enthusiast programmers. It's 100% free, no registration required.
|
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? |
|||
|