javascript - How to create data model dynamically -
I have this Jason data that I get from the server in JavaScript
var mydata = JSON Pars ('["X", "Y", "Z"]'); Below I have the following data model in javascript. Precise var mySchemasList = {schema: [New selection schema model ("A", wrong) , Select the new Skemmodel ("B", false), new selection highimode ("C", wrong)]}; I want to dynamically obtain this model data from mydata ('A', 'B', 'C').
Any help is sincerely appreciated ..
thanks
Can not you do just that? var i var mySchemaList = {schema: []}; For (i = 0; i
Comments
Post a Comment