Javascript: url in html
Web Development
4
Posts
2
Posters
0
Views
1
Watching
-
Hi I have a URL in html format. For example: http://wutever.com/ And I want to convert it to: http://wutever.com/ How can I do that? Is there any function like encodeURI() ? Any help would be greatly appreciated.
-
Hi I have a URL in html format. For example: http://wutever.com/ And I want to convert it to: http://wutever.com/ How can I do that? Is there any function like encodeURI() ? Any help would be greatly appreciated.
PHP func is htmlentities i think
-
PHP func is htmlentities i think
-
Marc Firth, thank you for your reply. I want to do it in JavaScript :) Is there equivalent function in JavaScript? Or do I have to write my own?