KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to create a dictionary in JavaScript like the following: myMappings = [ { "Name": 10%}, { "Phone": 10%}, { "Address": 50%}, { "Zip": 10%}, { "Comments": 20%} ] I want to populate an HTML table later and want to set the titles of table to the first column of myMappings and the width of columns to the second. Is there a clean way to do it?
Tags (comma-separated)
Save Edits
Cancel