Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Javascript: url in html

Javascript: url in html

Scheduled Pinned Locked Moved Web Development
questionjavascripthtmlcomhelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    msn92
    wrote on last edited by
    #1

    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.

    M 1 Reply Last reply
    0
    • M msn92

      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.

      M Offline
      M Offline
      Marc Firth
      wrote on last edited by
      #2

      PHP func is htmlentities i think

      Neonlight

      M 1 Reply Last reply
      0
      • M Marc Firth

        PHP func is htmlentities i think

        Neonlight

        M Offline
        M Offline
        msn92
        wrote on last edited by
        #3

        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?

        M 1 Reply Last reply
        0
        • M msn92

          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?

          M Offline
          M Offline
          Marc Firth
          wrote on last edited by
          #4

          Google[^]

          Neonlight

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups