TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
rajeev kumar
NA
141
14.3k
I want string like this in javascript
Jan 18 2017 11:23 PM
i have json string array like this
var stringold= [
{"aptid":1,"businesname":"skulink","ownrnm":"rajiv"},
{"aptid":2,"businesname":"prodegios","ownrnm":"sanjeev"}
]
**// but i want like this**
var newstring=[
["aptid":1,"businesname":"skulink","ownrnm":"rajiv"],
["aptid":2,"businesname":"prodegios","ownrnm":"sanjeev"]
]
What I have tried:
var jsonm = msg.d;
var jsonm = $.parseJSON(msg.d);
//var objectStringArray = (new Function("return [" + jsonm + "];")());
var test = JSON.parse(jsonm);
Reply
Answers (
2
)
how can I Inside a div create colums looking this?
Purpose of closures.