Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

create object in jquery dynamically

 Array.map(function() {
                var obj = {}
                obj['id'] = $(this).id;
                obj['name'] = $(this).name;
                return obj;
            })
 
PREVIOUS NEXT
Tagged: #create #object #jquery #dynamically
ADD COMMENT
Topic
Name
8+4 =