jQuery have variable containing mulitple variables -
I have a list of variables, which is getting out of hand
I was thinking That i can
var content id = $ (cr) .fund ("content idid"). Text () var status = $ (cur) .find ("status"). Text () var title = $ (cur) .find ("title"). Text () var description = $ (cur) .find ("description") text () var coverUrl = $ (cur) .find ("coverUrl"). Standard JavaScript data structures (group of named data); < With the named key) and (for the ordering data). var myThing = {foo: "Some Value", Bar: "Some Other Values"}; MyThing.baz = "yet another value"; Warning (myThing.foo); Warning (myThing ["bar"]); Var key = "baz"; Warning (myThing [key]);
Comments
Post a Comment