hi guys, I need a little help I want to convert my url using javascript. http://mysite.com/my-post-title Code (markup): to http%3A%2F%2Fsmysite.com%2Fmy-post-title Code (markup): also I want to assign a function to use the converted code out of javascript. is it possible?