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
Girish Sapariya
NA
239
14.8k
Remove object from Collection using javascript/jquery
Aug 19 2014 1:26 AM
hi, I am having a collection like this:
var ColList = [ { ID: "1", Name: "Test1"}, { ID: "2", Name: "Test2"}, { ID: "3", Name: "Test3"}, { ID: "4", Name: "Test4"}]
I want to remove the object with value ID = 2 from ColList
just like we do in c# obj.Remove(obj1) or obj.RemoveAt(1) sort of.
How can this be achieve in javascript or jquery
and also how can I add new obj in ColList
Thanks
Reply
Answers (
1
)
background-color:transparent css is not working in IE
I want to use my JSON data in creating D3JS chart