Home > front end >  Turn to jq traversal two-dimensional json data
Turn to jq traversal two-dimensional json data

Time:02-14

Server access the json data of normal console display normal traversal, is similar to the 9 * 9 after add tabile format=81

 for (var I in the content) {

$(" connect "). Append (" & lt; Tr id='active_obj_' class='active active_obj_ & gt; " );

For (var j content in [I]) {
$(". Active_obj_ "). Append (" & lt; Td>" + content [I] [j] + "& lt;/td>" )

}
}


 




A


B


C


A


B


C


A


B


C


A


B


C


A


B


C










A


B


C


A


B


C


A


B


C


A


B


C







A


B


C


A


B


C


A


B


C







A


B


C


A


B


C










A


B


C







What I want is a concept of TR is displayed just 3 td

  • Related