my jscript is:
var t={'color':'red'}; // dynamic json data. for(n in t) { alert(n) }
here, alert gives json key color. how value?
note: json dynamic.
var t={'color':'red'}; // dynamic json data. for(n in t) { alert(n);// n = key var val =t[n];// value key n }
Comments
Post a Comment