dotnetspider.com
Login Login    Register      

TutorialsForumCareer DevelopmentResourcesReviewsJobsInterviewCommunitiesProjectsTraining

Subscribe to Subscribers
Talk to Webmaster
Tony John

Facebook
Google+
Twitter
LinkedIn
Online Membersprofit22
More...
Join our online Google+ community for Bloggers, Content Writers and Webmasters




Resources » Definitions » General

decodeURI() & encodeURI()


Posted Date:     Category: General    
Author: Member Level: Gold    Points: 5



 


decodeURI() & encodeURI() in Javascript

Many characters cannot be sent in a URL, but must be converted to their hex encoding. These functions are used to convert an entire URI (a superset of URL) to and from a format that can be sent via a URI.

Example :-

< script type="text/javascript" >
var uri = "http://www.google.com/search?q=sonofusion Taleyarkhan"
document.write("Original uri: "+uri);
document.write("< br /> encoded: "+encodeURI(uri));
</script>





Did you like this resource? Share it with your friends and show your love!


Responses to "decodeURI() & encodeURI()"
Author: Miss Meetu Choudhary    09 Mar 2009Member Level: Gold   Points : 2
Please Post Your Resources fully formatted it saves lots of time while editing use & lt instead of "<" and & gt instead of ">" so that your code will appear as you want other wise it will be interpreted as HTML Tags as they are allowed in the resources... and use code /code in the big brackets as special tag to display the code snippets...

Thanks and Regards
Meetu Choudhary
Editor



Author: Deepika Haridas    18 Mar 2009Member Level: Gold   Points : 0
Hi,

Ok Mam will try to keep your points in mind for the next time..



Author: Pradeep Iyer    19 Mar 2009Member Level: Gold   Points : 1
Hi,

That's is good post.

Very useful for the developers.

Keep posting more and more......

Regards,
Pradeep Y.



Feedbacks      

Post Comment:




  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)



    Type the numbers and letters shown on the left.


    Next Resource: Difference between GET & POST
    Previous Resource: Eval() in Javascript
    Return to Resources
    Post New Resource
    Category: General


    Post resources and earn money!
     
    More Resources
    Popular Tags   Tag posting guidelines   Search Tags  
    DecodeURI()  .  EncodeURI()  .  



    Follow us on Twitter: https://twitter.com/dotnetspider

    Active Members
    TodayLast 7 Daysmore...

    Awards & Gifts
    Email subscription
  • .NET Jobs
  • .NET Articles
  • .NET Forums
  • Articles Rss Feeds
    Forum Rss Feeds


    About Us    Contact Us    Copyright    Privacy Policy    Terms Of Use    Revenue Sharing sites   Advertise   Talk to Tony John
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
    2005 - 2012 All Rights Reserved.
    .NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
    Articles, tutorials and all other content offered here is for educational purpose only.
    We are not associated with Microsoft or its partners.