Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes HTML, CSS and JavaScript and the fly likes URL encoding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "URL encoding" Watch "URL encoding" New topic

URL encoding

Naresh Rajan
Ranch Hand

Joined: Sep 08, 2005
Posts: 45
I have an chat application which uses AJAX. In this, if I enter a URL in I will have to convert it into a link when it gets displayed in the display area. How do i do this using JavaScript??


Am not a pro and thats why am here!!!
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62269

Sorry, not getting what you are asking.

But in general, the encodeURI() and encoreURIComponent() methods are used for client-side encoding.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: URL encoding