What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 36937 |  Welcome, Guest!   Register  Login
 Home > Interview Questions > jQuery Interview Questions > How will you Encode/Decode URL in jQuery ...

How will you Encode/Decode URL in jQuery ?

Interview question and answer by: Akiii | Posted on: 5/18/2012 | Category: jQuery Interview questions | Views: 1717 | | Points: 40


Answer:

In jquery, you can use the following functions to encode and decode url :-

encodeURIComponent(url) and decodeURIComponent(url)


You have to pass the complete url with parameterized value in the function and in return it will encode/decode you url for you !



Thanks and Regards
Akiii

Found interesting? Add this to:


>> Write Response - Respond to this post and get points

Even more ... | Submit Interview Questions and win prizes!

More Interview Questions from Akiii

Even more ... | Submit Interview Questions and win prizes!


About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/24/2013 5:24:10 AM