Dynamically I am getting an array
.
For example we can consider this following array
.
var sampleArray=[
"logo",
"Details",
"titles"
];
But I want it something like this.
jsonObj={
"poistion1":"logo",
"poistion2":"Details",
"poistion3":"titles"
}