Introduction:
Here I will explain how to remove double quotes from JSON returned string or data in jQuery. We can remove double quotes from string by using JSON.parse() or eval() or replace double quotes from JSON returned string in jQuery.
Description:
In previous articles I explained jQuery Ajax JSON example in asp.net, Angularjs refresh div for every 1 second using interval mode, jQuery read and parse json string using ParseJSON method, jQuery get number of facebook likes, shares and comments count from url, jQuery redirect to another page after 5 seconds and many articles relating to AngularJS, jQuery, JavaScript and asp.net. Now I will how to remove double quotes from JSON returned string or data in jQuery.
In previous articles I explained jQuery Ajax JSON example in asp.net, Angularjs refresh div for every 1 second using interval mode, jQuery read and parse json string using ParseJSON method, jQuery get number of facebook likes, shares and comments count from url, jQuery redirect to another page after 5 seconds and many articles relating to AngularJS, jQuery, JavaScript and asp.net. Now I will how to remove double quotes from JSON returned string or data in jQuery.
Method
1
|
Method
2
|
I hope it helps you….
Happy coding..
If you enjoyed this post, please support the blog below. It's FREE! Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email. |
|||
|
|||
4 comments :
nice
very nice
good
Thank you so much.. I was stuck on this issue from last 6 hours.. :)
Note: Only a member of this blog may post a comment.